100+ results for 'import gson'
Not the results you expected?
JsonQuery.java (https://gitlab.com/skylabase/incubator-fineract) Java · 279 lines
21 import java.lang.reflect.Type;
22 import java.math.BigDecimal;
23 import java.util.Arrays;
24 import java.util.Map;
26 import org.apache.commons.lang.ObjectUtils;
27 import org.apache.commons.lang.StringUtils;
28 import org.apache.fineract.infrastructure.core.serialization.FromJsonHelper;
29 import org.apache.fineract.infrastructure.security.domain.BasicPasswordEncodablePlatformUser;
34 import com.google.gson.JsonElement;
35 import com.google.gson.reflect.TypeToken;
IOSGLES30.java (https://gitlab.com/dlts/libgdx) Java · 201 lines
CurriculumCourseStartingSolutionInitializer.java (https://github.com/etirelli/droolsjbpm-contributed-experiments.git) Java · 193 lines
3 import java.util.ArrayList;
4 import java.util.Collections;
5 import java.util.List;
7 import org.apache.commons.lang.builder.CompareToBuilder;
8 import org.drools.WorkingMemory;
9 import org.drools.runtime.rule.FactHandle;
10 import org.drools.solver.core.localsearch.LocalSearchSolverScope;
11 import org.drools.solver.core.solution.initializer.AbstractStartingSolutionInitializer;
12 import org.drools.solver.examples.common.domain.PersistableIdComparator;
AndroidMavenResourcesCompiler.java (https://bitbucket.org/nbargnesi/idea.git) Java · 251 lines
18 import com.intellij.openapi.application.ApplicationManager;
19 import com.intellij.openapi.compiler.*;
20 import com.intellij.openapi.compiler.ex.CompileContextEx;
21 import com.intellij.openapi.module.Module;
22 import com.intellij.openapi.module.ModuleManager;
23 import com.intellij.openapi.util.Computable;
24 import com.intellij.openapi.util.io.FileUtil;
25 import com.intellij.openapi.vfs.LocalFileSystem;
26 import com.intellij.openapi.vfs.VirtualFile;
27 import org.jetbrains.android.compiler.tools.AndroidMavenExecutor;
SmsDataValidator.java (https://gitlab.com/skylabase/incubator-fineract) Java · 137 lines
21 import java.lang.reflect.Type;
22 import java.util.ArrayList;
23 import java.util.List;
24 import java.util.Map;
26 import org.apache.commons.lang.StringUtils;
27 import org.apache.fineract.infrastructure.core.data.ApiParameterError;
28 import org.apache.fineract.infrastructure.core.data.DataValidatorBuilder;
29 import org.apache.fineract.infrastructure.core.exception.InvalidJsonException;
36 import com.google.gson.JsonElement;
37 import com.google.gson.reflect.TypeToken;
RepoSyncManager.java (https://gitlab.com/jazielmendozacarrillo7/auroradroid) Java · 259 lines
29 import com.aurora.adroid.util.PrefUtil;
30 import com.google.gson.Gson;
31 import com.google.gson.reflect.TypeToken;
35 import java.lang.reflect.Type;
36 import java.nio.charset.StandardCharsets;
37 import java.util.ArrayList;
38 import java.util.HashMap;
39 import java.util.List;
47 private Context context;
48 private Gson gson;
51 this.context = context;
52 this.gson = new Gson();
53 this.repoHashMap.putAll(getRepoHashMap());
urls.py (https://github.com/allweb/AHRM.git) Python · 202 lines
ExternalServicesConfigurationHelper.java (https://gitlab.com/skylabase/incubator-fineract) Java · 64 lines
21 import java.util.ArrayList;
22 import java.util.HashMap;
24 import com.google.gson.Gson;
25 import com.jayway.restassured.specification.RequestSpecification;
26 import com.jayway.restassured.specification.ResponseSpecification;
60 System.out.println("map : " + map);
61 return new Gson().toJson(map);
62 }
GlAccountSheetPopulator.java (https://gitlab.com/skylabase/DataImportTool) Java · 105 lines
8 import org.apache.poi.ss.usermodel.Sheet;
9 import org.apache.poi.ss.usermodel.Workbook;
10 import org.openmf.mifos.dataimport.dto.accounting.GlAccount;
11 import org.openmf.mifos.dataimport.handler.Result;
12 import org.openmf.mifos.dataimport.http.RestClient;
14 import com.google.gson.Gson;
15 import com.google.gson.JsonArray;
16 import com.google.gson.JsonElement;
17 import com.google.gson.JsonParser;
51 private void parseglAccounts() {
52 Gson gson = new Gson();
53 JsonElement json = new JsonParser().parse(content);
ElementDrawer.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 487 lines
34 import java.awt.BasicStroke;
35 import java.awt.Graphics2D;
36 import java.awt.Stroke;
37 import java.awt.geom.AffineTransform;
39 import net.sf.jasperreports.engine.JRException;
40 import net.sf.jasperreports.engine.JRLineBox;
41 import net.sf.jasperreports.engine.JRPen;
42 import net.sf.jasperreports.engine.JRPrintElement;
43 import net.sf.jasperreports.engine.export.legacy.BorderOffset;
44 import net.sf.jasperreports.engine.type.LineStyleEnum;
WeatherData.java (https://gitlab.com/solariswu/weatherforecast) Java · 185 lines
LoanApplicationTransitionApiJsonValidator.java (https://gitlab.com/skylabase/incubator-fineract) Java · 139 lines
24 import java.util.Arrays;
25 import java.util.HashSet;
26 import java.util.List;
27 import java.util.Map;
28 import java.util.Set;
30 import org.apache.commons.lang.StringUtils;
31 import org.apache.fineract.infrastructure.core.data.ApiParameterError;
32 import org.apache.fineract.infrastructure.core.data.DataValidatorBuilder;
33 import org.apache.fineract.infrastructure.core.exception.InvalidJsonException;
41 import com.google.gson.JsonElement;
42 import com.google.gson.reflect.TypeToken;
FilterBoundsTest.scala (https://gitlab.com/zachcoyle/geomesa) Scala · 142 lines
ZXReedSolomonEncoder.m (https://gitlab.com/gavins-Zhang/shadowsocks-iOS) Objective C · 85 lines
import_nomodule_runme.py (https://swig.svn.sourceforge.net/svnroot/swig) Python · 8 lines
DirectoryCache.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 229 lines
✨ Summary
This Java class, DirectoryCache
, caches remote directory listings to improve performance. It stores cached directories in a temporary file and uses a hash table to map URLs to their corresponding cache files. The class provides methods to set, clear, and remove cached directories, as well as a private method for canonicalizing URLs.
This Java class, DirectoryCache
, caches remote directory listings to improve performance. It stores cached directories in a temporary file and uses a hash table to map URLs to their corresponding cache files. The class provides methods to set, clear, and remove cached directories, as well as a private method for canonicalizing URLs.
motores.md (https://gitlab.com/sspinelli/proyectoDeSoftware) Markdown · 43 lines
29 Además, tu sitemap puede proporcionar valiosos metadatos asociados a las páginas que enumeras en el sitemap. Los metadatos son información sobre una página web, como, por ejemplo, cuándo se ha actualizado la página por última vez, con qué frecuencia se cambia y la importancia de esta en relación con otras URL del sitio web.
RestMethodInfoTest.java (https://gitlab.com/vicidroiddev/retrofit) Java · 230 lines
4 import com.google.gson.reflect.TypeToken;
5 import java.lang.reflect.Method;
6 import java.lang.reflect.Type;
7 import java.util.List;
8 import java.util.Map;
9 import java.util.Set;
10 import org.junit.Test;
11 import retrofit.client.Response;
12 import retrofit.http.GET;
13 import retrofit.http.Query;
Outlineable.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 79 lines
✨ Summary
This Java interface defines a contract for objects that can be displayed in an outline view, typically used in text editors or IDEs. It specifies methods to access and manipulate the object’s structure, such as getting its parent, name, type, adding children, retrieving children at specific indices, and counting the number of children.
This Java interface defines a contract for objects that can be displayed in an outline view, typically used in text editors or IDEs. It specifies methods to access and manipulate the object’s structure, such as getting its parent, name, type, adding children, retrieving children at specific indices, and counting the number of children.
DisjUnion.hs (https://bitbucket.org/jmelo_lyncode/thesis.git) Haskell · 57 lines
EntityJungleSpider.java (https://bitbucket.org/Hologuardian/divinerpg.git) Java · 114 lines
3 import net.minecraft.enchantment.EnchantmentHelper;
4 import net.minecraft.entity.Entity;
5 import net.minecraft.entity.EntityLiving;
6 import net.minecraft.entity.monster.EntitySpider;
7 import net.minecraft.potion.Potion;
8 import net.minecraft.potion.PotionEffect;
9 import net.minecraft.util.DamageSource;
10 import net.minecraft.util.MathHelper;
11 import net.minecraft.world.World;
12 import xolova.divinerpg.utils.helpers.item.OverworldItemHelper;
EKParticipant.h (https://github.com/jonhull/hd-iphone-app.git) C Header · 113 lines
JSONPojoConvertorFactoryTest.java (https://github.com/derickbailey/qedserver.git) Java · 338 lines
JSON.mustache (https://github.com/sk89q/commandhelper.git) Mustache · 446 lines
5 import com.google.gson.Gson;
6 import com.google.gson.GsonBuilder;
9 import com.google.gson.internal.bind.util.ISO8601Utils;
10 import com.google.gson.stream.JsonReader;
11 import com.google.gson.stream.JsonWriter;
12 import com.google.gson.JsonElement;
13 import io.gsonfire.GsonFireBuilder;
14 import io.gsonfire.TypeSelector;
58 public static GsonBuilder createGson() {
59 GsonFireBuilder fireBuilder = new GsonFireBuilder()
124 */
125 public JSON setGson(Gson gson) {
126 this.gson = gson;
Location.java (https://gitlab.com/jahanjoo/retrofit-jahanjoo) Java · 163 lines
GraphAlgorithmController.java (https://gitlab.com/flytosky/climate-service-backend) Java · 222 lines
5 import java.util.List;
6 import java.util.Map;
8 import javax.inject.Inject;
9 import javax.inject.Named;
21 import models.Dataset;
22 import models.DatasetAndUser;
23 import models.DatasetAndUserRepository;
24 import models.DatasetRepository;
25 import models.ServiceAndDataset;
36 import com.fasterxml.jackson.databind.JsonNode;
37 import com.google.gson.Gson;
TaxonomyServiceRemoteREST.m (https://gitlab.com/jslee1/WordPress-iOS) Objective C · 261 lines
add_edit_escalation_policy_modal_spec.js (https://gitlab.com/michold/git-lab-playground) JavaScript · 285 lines
1 import { GlModal, GlAlert } from '@gitlab/ui';
2 import { shallowMount } from '@vue/test-utils';
3 import { cloneDeep } from 'lodash';
4 import { nextTick } from 'vue';
5 import AddEscalationPolicyForm from 'ee/escalation_policies/components/add_edit_escalation_policy_form.vue';
6 import AddEscalationPolicyModal, {
10 import {
11 addEscalationPolicyModalId,
14 } from 'ee/escalation_policies/constants';
15 import createEscalationPolicyMutation from 'ee/escalation_policies/graphql/mutations/create_escalation_policy.mutation.graphql';
16 import updateEscalationPolicyMutation from 'ee/escalation_policies/graphql/mutations/update_escalation_policy.mutation.graphql';
17 import waitForPromises from 'helpers/wait_for_promises';
18 import mockPolicies from './mocks/mockPolicies.json';
FilterOptions.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 46 lines
✨ Summary
This is a Java interface named FilterOptions
that provides access to filter options for JBrowse, a genome browser. It defines methods to retrieve boolean values and integer indices related to displaying different types of data in the browser, such as imports, fields, variables, primitives, initializers, generalizations, and throws.
This is a Java interface named FilterOptions
that provides access to filter options for JBrowse, a genome browser. It defines methods to retrieve boolean values and integer indices related to displaying different types of data in the browser, such as imports, fields, variables, primitives, initializers, generalizations, and throws.
OverriddenAppNameTestCase.java (https://github.com/jharting/wildfly.git) Java · 175 lines
25 import javax.naming.Context;
26 import javax.naming.InitialContext;
28 import org.jboss.arquillian.container.test.api.Deployment;
29 import org.jboss.arquillian.junit.Arquillian;
30 import org.jboss.logging.Logger;
31 import org.jboss.shrinkwrap.api.ShrinkWrap;
32 import org.jboss.shrinkwrap.api.exporter.ZipExporter;
33 import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
34 import org.jboss.shrinkwrap.api.spec.JavaArchive;
35 import org.junit.Assert;
mr_widget_pipeline_spec.js (https://gitlab.com/Stretch96/gitlab-ce) JavaScript · 274 lines
a.java (https://bitbucket.org/jervisfm/android-research.git) Java · 194 lines
3 import com.chase.sig.android.ChaseApplication;
4 import com.chase.sig.android.domain.QuickDeposit;
5 import com.chase.sig.android.domain.QuickDepositAccount;
6 import com.chase.sig.android.domain.d;
7 import com.chase.sig.android.service.JPService;
8 import com.chase.sig.android.util.ChaseException;
9 import com.chase.sig.android.util.Dollar;
10 import com.chase.sig.android.util.m;
11 import com.chase.sig.android.util.s;
12 import com.google.gson.chase.Gson;
13 import com.google.gson.chase.GsonBuilder;
Cocos2dxRenderer.java (https://gitlab.com/gasabr/flappy-test) Java · 185 lines
ChangeToCStyleCommentIntention.java (https://bitbucket.org/nbargnesi/idea.git) Java · 130 lines
18 import com.intellij.openapi.util.text.StringUtil;
19 import com.intellij.psi.*;
20 import com.intellij.psi.tree.IElementType;
21 import com.intellij.psi.util.PsiTreeUtil;
22 import com.intellij.util.IncorrectOperationException;
23 import com.siyeh.ipp.base.Intention;
24 import com.siyeh.ipp.base.PsiElementPredicate;
25 import org.jetbrains.annotations.NotNull;
27 import java.util.ArrayList;
28 import java.util.List;
jsonalyzer_js.js (https://gitlab.com/unofficial-mirrors/c9-core) JavaScript · 106 lines
47 TAGS.forEach(function(tag) {
48 if (tag.kind === "import")
49 return;
61 handler.findImports = function(path, doc, ast, options, callback) {
62 var openFiles = ctagsUtil.findMatchingOpenFiles(path);
63 var astImports = findImportsInAST(path, ast);
65 callback(null, openFiles.concat(astImports));
66 };
68 function findImportsInAST(path, ast) {
69 if (!ast)
article.php (https://github.com/chuying163/ecshop_flxk.git) PHP · 82 lines
XivoDirectory.scala (https://gitlab.com/winckell.benjamin.isart/xucserver) Scala · 205 lines
3 import akka.actor.{ActorRef, Actor, ActorLogging, Props}
4 import play.api.libs.json._
5 import services.directory.DirectoryTransformer
6 import DirectoryTransformer.RawDirectoryResult
7 import services.config.ConfigRepository
8 import services.request._
9 import xivo.network.XiVOWSdef
10 import xivo.services.XivoDirectory.Action.Action
11 import xivo.services.XivoDirectory._
12 import xivo.xuc.XucConfig
FileReference.java (https://bitbucket.org/nbargnesi/idea.git) Java · 593 lines
19 import com.intellij.codeInsight.daemon.EmptyResolveMessageProvider;
20 import com.intellij.codeInsight.daemon.QuickFixProvider;
21 import com.intellij.codeInsight.daemon.impl.HighlightInfo;
22 import com.intellij.codeInsight.lookup.LookupElementBuilder;
23 import com.intellij.codeInspection.LocalQuickFix;
24 import com.intellij.codeInspection.LocalQuickFixProvider;
25 import com.intellij.lang.LangBundle;
26 import com.intellij.lang.injection.InjectedLanguageManager;
27 import com.intellij.openapi.diagnostic.Logger;
28 import com.intellij.openapi.project.Project;
SimpleMapperTests.java (https://gitlab.com/sharadag/elasticsearch) Java · 136 lines
22 import org.elasticsearch.common.bytes.BytesArray;
23 import org.elasticsearch.common.bytes.BytesReference;
24 import org.elasticsearch.common.compress.CompressedXContent;
25 import org.elasticsearch.common.xcontent.XContentFactory;
26 import org.elasticsearch.index.IndexService;
27 import org.elasticsearch.index.mapper.DocumentMapper;
28 import org.elasticsearch.index.mapper.DocumentMapperParser;
29 import org.elasticsearch.index.mapper.MapperParsingException;
30 import org.elasticsearch.index.mapper.ParseContext.Document;
31 import org.elasticsearch.index.mapper.core.TextFieldMapper;
UserCrudServlet.java (https://gitlab.com/NealsSBUProjects/AtomicComics) Java · 248 lines
3 import atomic.comic.ComicRequest;
4 import atomic.crud.CrudResult;
5 import atomic.crud.CrudServlet;
6 import atomic.data.EntityKind;
7 import atomic.json.JsonProperty;
8 import atomic.json.NoUniqueKeyException;
10 import com.google.appengine.repackaged.com.google.api.client.json.Json;
11 import com.google.gson.JsonArray;
12 import com.google.gson.JsonElement;
13 import com.google.gson.JsonObject;
UserManagement.java (https://bitbucket.org/MrJames/wineenterprise.git) Java · 139 lines
7 import com.google.gson.Gson;
8 import commonBeans.UserSessionBean;
9 import helper.UserState;
10 import java.util.ResourceBundle;
11 import javax.annotation.PostConstruct;
12 import javax.faces.application.FacesMessage;
13 import javax.faces.bean.ManagedBean;
14 import javax.faces.bean.ViewScoped;
15 import javax.faces.context.FacesContext;
16 import javax.inject.Inject;
ItemTransformVec3f.java (https://gitlab.com/HuliPvP/XIV) Java · 68 lines
chapter19.py
(https://bitbucket.org/Surgo/the-django-book-japanese/)
Python · 122 lines
✨ Summary
This code snippet demonstrates various ways to inject SQL queries and manipulate user input, highlighting potential security vulnerabilities. It shows how to use Django’s ORM safely, escape user input, and avoid SQL injection attacks by using parameterized queries. The examples also illustrate how to handle file paths and URLs securely.
This code snippet demonstrates various ways to inject SQL queries and manipulate user input, highlighting potential security vulnerabilities. It shows how to use Django’s ORM safely, escape user input, and avoid SQL injection attacks by using parameterized queries. The examples also illustrate how to handle file paths and URLs securely.
test_lti.py (https://gitlab.com/unofficial-mirrors/edx-platform) Python · 135 lines
UploadResponder.java (https://gitlab.com/CORP-RESELLER/SeLion) Java · 227 lines
6 import java.util.List;
7 import java.util.Map;
8 import java.util.logging.Level;
13 import com.google.gson.Gson;
14 import com.google.gson.GsonBuilder;
15 import com.google.gson.JsonArray;
16 import com.google.gson.JsonObject;
17 import com.paypal.selion.logging.SeLionGridLogger;
140 private final Gson gson;
147 super(transferContext);
148 gson = new GsonBuilder().disableHtmlEscaping().create();
149 jsonResponse = new JsonObject();
PaymentIntentIncrementAuthorizationParams.java (https://github.com/stripe/stripe-java.git) Java · 300 lines
GameInput.java (https://gitlab.com/rsgm123/ISA) Java · 154 lines
boto_iam_role_test.py (https://gitlab.com/ricardo.hernandez/salt) Python · 185 lines
Zone.java (https://github.com/gnodet/jclouds.git) Java · 401 lines
TimePicker.css
(http://enginey.googlecode.com/svn/trunk/)
CSS · 62 lines
✨ Summary
This CSS code styles a time picker component, customizing its appearance and behavior. It sets colors, fonts, and layouts for ticks, markers, hover states, and selected items. The code also adds accessibility features, such as high contrast mode and screen reader support, to ensure the time picker is usable by everyone.
This CSS code styles a time picker component, customizing its appearance and behavior. It sets colors, fonts, and layouts for ticks, markers, hover states, and selected items. The code also adds accessibility features, such as high contrast mode and screen reader support, to ensure the time picker is usable by everyone.
SmartListTest.java (https://bitbucket.org/nbargnesi/idea.git) Java · 136 lines
XSearchOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 122 lines
✨ Summary
This Java code defines a plugin options pane for XSearch, a feature of the jEdit text editor. It creates a graphical user interface (GUI) with checkboxes to customize various settings, such as replacing built-in actions and font styles, and saves these changes when the user clicks “Save”. The GUI is part of a larger plugin system for jEdit.
This Java code defines a plugin options pane for XSearch, a feature of the jEdit text editor. It creates a graphical user interface (GUI) with checkboxes to customize various settings, such as replacing built-in actions and font styles, and saves these changes when the user clicks “Save”. The GUI is part of a larger plugin system for jEdit.
PopupFactoryImpl.java (https://bitbucket.org/nbargnesi/idea.git) Java · 966 lines
18 import com.intellij.CommonBundle;
19 import com.intellij.icons.AllIcons;
20 import com.intellij.ide.DataManager;
21 import com.intellij.ide.IdeEventQueue;
22 import com.intellij.ide.IdeTooltipManager;
23 import com.intellij.openapi.Disposable;
24 import com.intellij.openapi.actionSystem.*;
25 import com.intellij.openapi.actionSystem.ex.ActionUtil;
26 import com.intellij.openapi.actionSystem.impl.ActionMenu;
27 import com.intellij.openapi.actionSystem.impl.Utils;
gyptest-commands.py (https://bitbucket.org/ultra_iter/qt-vtl.git) Python · 44 lines
FtpPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 169 lines
✨ Summary
This Java code defines a plugin for the JEdit text editor, specifically an FTP (File Transfer Protocol) plugin. It provides methods to open and save files from an FTP server, as well as initialize the SSH tools home directory with default configuration files. The plugin uses various utility classes and logging mechanisms to handle file operations and errors.
This Java code defines a plugin for the JEdit text editor, specifically an FTP (File Transfer Protocol) plugin. It provides methods to open and save files from an FTP server, as well as initialize the SSH tools home directory with default configuration files. The plugin uses various utility classes and logging mechanisms to handle file operations and errors.
25 //{{{ Imports
26 import java.awt.Component;
27 import java.io.*;
28 import java.util.Hashtable;
29 import java.util.Vector;
30 import org.gjt.sp.jedit.*;
31 import org.gjt.sp.jedit.browser.VFSBrowser;
32 import org.gjt.sp.jedit.io.*;
33 import org.gjt.sp.jedit.msg.*;
34 import org.gjt.sp.util.Log;
test_grid_performance.html
(http://enginey.googlecode.com/svn/trunk/)
HTML · 122 lines
✨ Summary
This HTML code creates a web page that tests the performance of the dojox.grid.DataGrid widget. It allows users to start two types of tests: “Creation Tests” and “Store Re-use Tests”. The tests measure the time it takes to create multiple DataGrid instances with different configurations, including programmatic creation with and without source nodes, as well as reusing a shared store.
This HTML code creates a web page that tests the performance of the dojox.grid.DataGrid widget. It allows users to start two types of tests: “Creation Tests” and “Store Re-use Tests”. The tests measure the time it takes to create multiple DataGrid instances with different configurations, including programmatic creation with and without source nodes, as well as reusing a shared store.
PageHistoryResponderTest.java
(git://github.com/unclebob/fitnesse.git)
Java · 486 lines
✨ Summary
This Java code is a test class for a FitNesse wiki application, which is a web-based testing framework. It tests various scenarios related to test execution reports, file handling, and request processing, ensuring that the application behaves correctly under different conditions. The tests cover aspects such as generating responses, parsing files, and accepting different input formats.
This Java code is a test class for a FitNesse wiki application, which is a web-based testing framework. It tests various scenarios related to test execution reports, file handling, and request processing, ensuring that the application behaves correctly under different conditions. The tests cover aspects such as generating responses, parsing files, and accepting different input formats.
3 import static org.junit.Assert.assertEquals;
4 import static org.mockito.Mockito.mock;
5 import static org.mockito.Mockito.when;
6 import static util.RegexTestCase.assertHasRegexp;
7 import static util.RegexTestCase.assertSubString;
9 import java.io.File;
10 import java.io.FileWriter;
11 import java.io.IOException;
12 import java.text.ParseException;
TextMakerTest.java
(git://github.com/unclebob/fitnesse.git)
Java · 70 lines
✨ Summary
This Java code is a test class for a TextMaker
class, which appears to be responsible for parsing and processing wiki text. The tests verify that the TextMaker
correctly handles various inputs such as text, wiki words with underscores, emails, and other formats, ensuring they are matched and processed correctly.
This Java code is a test class for a TextMaker
class, which appears to be responsible for parsing and processing wiki text. The tests verify that the TextMaker
correctly handles various inputs such as text, wiki words with underscores, emails, and other formats, ensuring they are matched and processed correctly.
upload_gtest.py (https://bitbucket.org/ultra_iter/qt-vtl.git) Python · 78 lines
MSVSVersion.py (https://bitbucket.org/ultra_iter/qt-vtl.git) Python · 200 lines
Button.qml (https://bitbucket.org/ultra_iter/qt-vtl.git) QML · 67 lines
ProjectManagerEx.java (https://bitbucket.org/nbargnesi/idea.git) Java · 61 lines
18 import com.intellij.openapi.application.ApplicationManager;
19 import com.intellij.openapi.project.Project;
20 import com.intellij.openapi.project.ProjectManager;
21 import com.intellij.openapi.util.InvalidDataException;
22 import com.intellij.openapi.vfs.VirtualFile;
23 import org.jdom.JDOMException;
24 import org.jetbrains.annotations.NotNull;
25 import org.jetbrains.annotations.Nullable;
26 import org.jetbrains.annotations.TestOnly;
AntDomBasenameTask.java (https://bitbucket.org/nbargnesi/idea.git) Java · 44 lines
ScriptEngineService.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 47 lines
✨ Summary
This Java interface defines a contract for mapping modes to script engines. It provides two methods: getEngineFactoryClass()
and getMode()
, which return the class of the script engine factory used in the ScriptEngineManager and the mode associated with the script engine, respectively. This allows different modes to be mapped to specific script engines.
This Java interface defines a contract for mapping modes to script engines. It provides two methods: getEngineFactoryClass()
and getMode()
, which return the class of the script engine factory used in the ScriptEngineManager and the mode associated with the script engine, respectively. This allows different modes to be mapped to specific script engines.
TagsOptionsPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 527 lines
✨ Summary
This Java code defines a GUI component for managing tag index files, which are used to store file paths and their corresponding tags. The component allows users to add, remove, and edit tag index files, as well as enable/disable individual files. It also updates the UI in response to changes made by the user.
This Java code defines a GUI component for managing tag index files, which are used to store file paths and their corresponding tags. The component allows users to add, remove, and edit tag index files, as well as enable/disable individual files. It also updates the UI in response to changes made by the user.
Script.groovy (https://bitbucket.org/nbargnesi/idea.git) Groovy · 17 lines
TestExecutionImpl.java
(http://mycila.googlecode.com/svn/)
Java · 81 lines
✨ Summary
This Java class implements a TestExecution
interface, providing an implementation for test execution. It encapsulates a test context and method, allowing modification of attributes, step changes, and access to test execution details such as context, method, and throwable. The class also provides methods to check if the test must be skipped and to set the skip status.
This Java class implements a TestExecution
interface, providing an implementation for test execution. It encapsulates a test context and method, allowing modification of attributes, step changes, and access to test execution details such as context, method, and throwable. The class also provides methods to check if the test must be skipped and to set the skip status.
JpsAndroidModuleProperties.java (https://bitbucket.org/nbargnesi/idea.git) Java · 80 lines
BaseTextCommentCellAppearance.java (https://bitbucket.org/nbargnesi/idea.git) Java · 71 lines
18 import com.intellij.openapi.roots.ui.CellAppearanceEx;
19 import com.intellij.openapi.util.text.StringUtil;
20 import com.intellij.ui.HtmlListCellRenderer;
21 import com.intellij.ui.SimpleColoredComponent;
22 import com.intellij.ui.SimpleTextAttributes;
23 import org.jetbrains.annotations.NotNull;
25 import javax.swing.*;
TestFailedEvent.java (https://bitbucket.org/nbargnesi/idea.git) Java · 90 lines
TestResultsViewer.java (https://bitbucket.org/nbargnesi/idea.git) Java · 80 lines
18 import com.intellij.execution.testframework.AbstractTestProxy;
19 import com.intellij.execution.testframework.TestFrameworkRunningModel;
20 import com.intellij.execution.testframework.sm.runner.SMTestProxy;
21 import com.intellij.openapi.Disposable;
22 import org.jetbrains.annotations.NotNull;
23 import org.jetbrains.annotations.Nullable;
gpio.txt (http://omnia2droid.googlecode.com/svn/trunk/) Plain Text · 566 lines
443 Initialization order can be important. For example, when a device relies on
444 an I2C-based GPIO, its probe() routine should only be called after that GPIO
463 protect boot loader segments in flash memory. System upgrade procedures
464 may need to temporarily remove that protection, first importing a GPIO,
465 then changing its output state, then updating the code before re-enabling
560 signal direction may change. This helps drivers prevent userspace code
561 from accidentally clobbering important system state.
LoginDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 374 lines
✨ Summary
This Java code creates a GUI dialog for configuring FTP connection settings, including host, user, password, and private key. It uses a variable grid layout to arrange fields and provides features like auto-completion, password storage, and private key selection with file chooser functionality. The dialog also checks the configuration against predefined keys and passwords when the user types or selects values.
This Java code creates a GUI dialog for configuring FTP connection settings, including host, user, password, and private key. It uses a variable grid layout to arrange fields and provides features like auto-completion, password storage, and private key selection with file chooser functionality. The dialog also checks the configuration against predefined keys and passwords when the user types or selects values.
AccumulativeRunnable.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 143 lines
✨ Summary
This Java class, AccumulativeRunnable
, allows for accumulating data of a specific type (T
) and then processing it when executed. It provides a way to accumulate data in a thread-safe manner and process it on the Event Dispatch Thread (EDT) using Swing’s SwingUtilities.invokeLater
. This is useful for handling multiple updates or events that need to be processed sequentially, ensuring only the last update is delivered.
This Java class, AccumulativeRunnable
, allows for accumulating data of a specific type (T
) and then processing it when executed. It provides a way to accumulate data in a thread-safe manner and process it on the Event Dispatch Thread (EDT) using Swing’s SwingUtilities.invokeLater
. This is useful for handling multiple updates or events that need to be processed sequentially, ensuring only the last update is delivered.
pluginMixed.pro (https://bitbucket.org/ultra_iter/qt-vtl.git) Prolog · 9 lines
runme.lua
(https://swig.svn.sourceforge.net/svnroot/swig)
Lua · 104 lines
✨ Summary
This Lua code tests various properties of classes defined in separate modules, including importing libraries, creating objects, calling methods, performing casts, and testing dynamic casting. It checks if the classes are correctly loaded and interacted with, ensuring that the Swig-generated wrappers work as expected. The output shows whether the casting operations result in valid or invalid objects.
This Lua code tests various properties of classes defined in separate modules, including importing libraries, creating objects, calling methods, performing casts, and testing dynamic casting. It checks if the classes are correctly loaded and interacted with, ensuring that the Swig-generated wrappers work as expected. The output shows whether the casting operations result in valid or invalid objects.
DateSelectorPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 467 lines
✨ Summary
This Java code creates a graphical user interface (GUI) for selecting dates using a calendar panel. It allows users to navigate through different months and years, with options to roll forward and backward in time. The GUI also includes features such as setting “today” to a specific date and displaying the currently selected date.
This Java code creates a graphical user interface (GUI) for selecting dates using a calendar panel. It allows users to navigate through different months and years, with options to roll forward and backward in time. The GUI also includes features such as setting “today” to a specific date and displaying the currently selected date.
SetCopyToLeft.java (https://bitbucket.org/nbargnesi/idea.git) Java · 36 lines
Menu.resx (https://bitbucket.org/davcar/bvcms/) Unknown · 120 lines
HashMap.java (https://bitbucket.org/nbargnesi/idea.git) Java · 40 lines
cursorTest.qml (https://bitbucket.org/ultra_iter/qt-vtl.git) QML · 8 lines
DependencyMemberInfoModel.java (https://bitbucket.org/nbargnesi/idea.git) Java · 90 lines
SessionPropertiesShowing.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 104 lines
✨ Summary
This Java class, SessionPropertiesShowing
, is a message sent on an “EditBus” before displaying a dialog for session properties. It allows third parties to add custom property panes and groups to the dialog. The class provides methods to access the session and its associated property group, as well as methods to add property panes and groups to the dialog.
This Java class, SessionPropertiesShowing
, is a message sent on an “EditBus” before displaying a dialog for session properties. It allows third parties to add custom property panes and groups to the dialog. The class provides methods to access the session and its associated property group, as well as methods to add property panes and groups to the dialog.
SessionsOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 163 lines
✨ Summary
This Java code defines a plugin options pane for the Sessions plugin in jEdit, a text editor. It creates a GUI with checkboxes and radio buttons to customize session settings, such as auto-saving, toolbar visibility, and title bar display. The settings are saved when the user clicks “OK” or closes the dialog box.
This Java code defines a plugin options pane for the Sessions plugin in jEdit, a text editor. It creates a GUI with checkboxes and radio buttons to customize session settings, such as auto-saving, toolbar visibility, and title bar display. The settings are saved when the user clicks “OK” or closes the dialog box.
ForLoopReplaceableByWhileInspection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 141 lines
18 import com.intellij.codeInspection.ProblemDescriptor;
19 import com.intellij.codeInspection.ui.SingleCheckboxOptionsPanel;
20 import com.intellij.openapi.project.Project;
21 import com.intellij.psi.*;
22 import com.intellij.util.IncorrectOperationException;
23 import com.siyeh.InspectionGadgetsBundle;
24 import com.siyeh.ig.BaseInspection;
25 import com.siyeh.ig.BaseInspectionVisitor;
26 import com.siyeh.ig.InspectionGadgetsFix;
27 import org.jetbrains.annotations.NonNls;
friends_runme.go
(https://swig.svn.sourceforge.net/svnroot/swig)
Go · 51 lines
✨ Summary
The provided Go code tests various functions from a package named “friends”. It creates instances of types A, B, and D_d, and uses them to test different methods such as Get_val1
, Mix
, Set
, and others. The tests verify that the methods return expected values for both integer and float64 types, demonstrating template overloading and type casting capabilities.
The provided Go code tests various functions from a package named “friends”. It creates instances of types A, B, and D_d, and uses them to test different methods such as Get_val1
, Mix
, Set
, and others. The tests verify that the methods return expected values for both integer and float64 types, demonstrating template overloading and type casting capabilities.
PHPSideKickCompletion.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 106 lines
✨ Summary
This Java class, PHPSideKickCompletion, extends SideKickCompletion to provide completion suggestions for PHP development. It analyzes the current word and surrounding text to suggest matching items from a list of classes, methods, and other PHP elements. The class handles keystrokes, inserting suggested items into the text area, and updating the caret position accordingly.
This Java class, PHPSideKickCompletion, extends SideKickCompletion to provide completion suggestions for PHP development. It analyzes the current word and surrounding text to suggest matching items from a list of classes, methods, and other PHP elements. The class handles keystrokes, inserting suggested items into the text area, and updating the caret position accordingly.
3 import gatchan.phpparser.project.itemfinder.PHPItemCellRenderer;
4 import net.sourceforge.phpdt.internal.compiler.ast.ClassDeclaration;
5 import net.sourceforge.phpdt.internal.compiler.ast.ClassHeader;
6 import net.sourceforge.phpdt.internal.compiler.ast.MethodDeclaration;
7 import net.sourceforge.phpdt.internal.compiler.ast.MethodHeader;
8 import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
9 import org.gjt.sp.jedit.jEdit;
10 import org.gjt.sp.jedit.textarea.Selection;
11 import sidekick.SideKickCompletion;
DelegateColorScheme.java (https://bitbucket.org/nbargnesi/idea.git) Java · 182 lines
18 import com.intellij.openapi.editor.colors.ColorKey;
19 import com.intellij.openapi.editor.colors.EditorColorsScheme;
20 import com.intellij.openapi.editor.colors.EditorFontType;
21 import com.intellij.openapi.editor.colors.TextAttributesKey;
22 import com.intellij.openapi.editor.markup.TextAttributes;
23 import com.intellij.openapi.options.FontSize;
24 import com.intellij.openapi.util.InvalidDataException;
25 import com.intellij.openapi.util.WriteExternalException;
26 import org.jdom.Element;
27 import org.jetbrains.annotations.NotNull;
build.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 61 lines
TextEditorState.java (https://bitbucket.org/nbargnesi/idea.git) Java · 110 lines
ProjectStoreClassProvider.java (https://bitbucket.org/nbargnesi/idea.git) Java · 25 lines
FileListRenderer.java (https://bitbucket.org/nbargnesi/idea.git) Java · 39 lines
MultilineTreeCellRenderer.java (https://bitbucket.org/nbargnesi/idea.git) Java · 476 lines
18 import com.intellij.openapi.util.text.StringUtil;
19 import com.intellij.ui.components.JBScrollPane;
20 import com.intellij.util.ArrayUtil;
21 import com.intellij.util.ui.UIUtil;
22 import com.intellij.util.ui.tree.WideSelectionTreeUI;
23 import org.jetbrains.annotations.NonNls;
25 import javax.swing.*;
26 import javax.swing.plaf.TreeUI;
27 import javax.swing.tree.DefaultMutableTreeNode;
28 import javax.swing.tree.TreeCellRenderer;
AntDomInputTask.java (https://bitbucket.org/nbargnesi/idea.git) Java · 38 lines
LocalInspectionToolWrapper.java (https://bitbucket.org/nbargnesi/idea.git) Java · 233 lines
19 import com.intellij.analysis.AnalysisScope;
20 import com.intellij.codeHighlighting.HighlightDisplayLevel;
21 import com.intellij.codeInspection.*;
22 import com.intellij.codeInspection.reference.RefElement;
23 import com.intellij.codeInspection.reference.RefEntity;
24 import com.intellij.codeInspection.reference.RefManagerImpl;
25 import com.intellij.codeInspection.ui.InspectionResultsView;
26 import com.intellij.codeInspection.ui.InspectionTreeNode;
27 import com.intellij.lang.annotation.HighlightSeverity;
28 import com.intellij.openapi.application.ApplicationManager;
LibraryGroupElement.java (https://bitbucket.org/nbargnesi/idea.git) Java · 55 lines
ModuleGroupUtil.java (https://bitbucket.org/nbargnesi/idea.git) Java · 95 lines
README (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 17 lines
JdkUtil.java (https://bitbucket.org/nbargnesi/idea.git) Java · 313 lines
22 import com.intellij.execution.configurations.GeneralCommandLine;
23 import com.intellij.execution.configurations.ParametersList;
24 import com.intellij.execution.configurations.SimpleJavaParameters;
25 import com.intellij.ide.util.PropertiesComponent;
26 import com.intellij.openapi.diagnostic.Logger;
27 import com.intellij.openapi.project.Project;
28 import com.intellij.openapi.util.Comparing;
29 import com.intellij.openapi.util.io.FileUtil;
30 import com.intellij.openapi.vfs.CharsetToolkit;
31 import com.intellij.openapi.vfs.JarFileSystem;
EnterHandlerDelegate.java (https://bitbucket.org/nbargnesi/idea.git) Java · 43 lines
19 import com.intellij.openapi.extensions.ExtensionPointName;
20 import com.intellij.openapi.editor.actionSystem.EditorActionHandler;
21 import com.intellij.openapi.editor.Editor;
22 import com.intellij.openapi.actionSystem.DataContext;
23 import com.intellij.openapi.util.Ref;
24 import com.intellij.psi.PsiFile;
25 import org.jetbrains.annotations.NotNull;
26 import org.jetbrains.annotations.Nullable;
DrawableStateListDomFileDescription.java (https://bitbucket.org/nbargnesi/idea.git) Java · 55 lines
18 import com.android.resources.ResourceType;
19 import com.intellij.openapi.module.Module;
20 import com.intellij.psi.xml.XmlFile;
21 import com.intellij.psi.xml.XmlTag;
22 import org.jetbrains.android.dom.AndroidResourceDomFileDescription;
23 import org.jetbrains.annotations.NonNls;
24 import org.jetbrains.annotations.NotNull;
25 import org.jetbrains.annotations.Nullable;
GrPropertySelectionImpl.java (https://bitbucket.org/nbargnesi/idea.git) Java · 83 lines
19 import com.intellij.lang.ASTNode;
20 import com.intellij.openapi.diagnostic.Logger;
21 import com.intellij.psi.PsiElement;
22 import org.jetbrains.annotations.NotNull;
23 import org.jetbrains.plugins.groovy.lang.lexer.TokenSets;
24 import org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor;
25 import org.jetbrains.plugins.groovy.lang.psi.api.GroovyResolveResult;
26 import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrExpression;
27 import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.path.GrPropertySelection;
28 import org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl;
FileAttribute.java (https://bitbucket.org/nbargnesi/idea.git) Java · 123 lines
22 import com.intellij.openapi.util.io.FileUtil;
23 import com.intellij.openapi.vfs.VirtualFile;
24 import com.intellij.util.io.DataInputOutputUtil;
25 import org.jetbrains.annotations.NonNls;
26 import org.jetbrains.annotations.NotNull;
27 import org.jetbrains.annotations.Nullable;
29 import java.io.DataInputStream;
30 import java.io.DataOutputStream;
31 import java.io.IOException;
32 import java.util.HashSet;
TabLabel.java (https://bitbucket.org/nbargnesi/idea.git) Java · 556 lines
18 import com.intellij.ide.DataManager;
19 import com.intellij.ide.ui.UISettings;
20 import com.intellij.openapi.actionSystem.ActionGroup;
21 import com.intellij.openapi.actionSystem.ActionPlaces;
22 import com.intellij.openapi.actionSystem.DefaultActionGroup;
23 import com.intellij.openapi.util.Pass;
24 import com.intellij.openapi.util.SystemInfo;
25 import com.intellij.ui.InplaceButton;
26 import com.intellij.ui.LayeredIcon;
27 import com.intellij.ui.SimpleColoredComponent;
DefaultPomTargetDescriptionProvider.java (https://bitbucket.org/nbargnesi/idea.git) Java · 55 lines
18 import com.intellij.ide.TypePresentationService;
19 import com.intellij.openapi.util.text.StringUtil;
20 import com.intellij.pom.PomDescriptionProvider;
21 import com.intellij.pom.PomNamedTarget;
22 import com.intellij.pom.PomTarget;
23 import com.intellij.psi.ElementDescriptionLocation;
24 import com.intellij.psi.PsiElement;
25 import com.intellij.usageView.UsageViewNodeTextLocation;
26 import com.intellij.usageView.UsageViewTypeLocation;
27 import com.intellij.codeInsight.highlighting.HighlightUsagesDescriptionLocation;
ScanSourceCommentsAction.java (https://bitbucket.org/nbargnesi/idea.git) Java · 153 lines
22 import com.intellij.openapi.actionSystem.AnAction;
23 import com.intellij.openapi.actionSystem.AnActionEvent;
24 import com.intellij.openapi.actionSystem.PlatformDataKeys;
25 import com.intellij.openapi.diagnostic.Logger;
26 import com.intellij.openapi.fileTypes.LanguageFileType;
27 import com.intellij.openapi.progress.ProgressIndicator;
28 import com.intellij.openapi.progress.ProgressManager;
29 import com.intellij.openapi.project.Project;
30 import com.intellij.openapi.roots.ContentIterator;
31 import com.intellij.openapi.roots.ProjectRootManager;
SelectInEditorManagerImpl.java (https://bitbucket.org/nbargnesi/idea.git) Java · 158 lines
18 import com.intellij.ide.SelectInEditorManager;
19 import com.intellij.injected.editor.DocumentWindow;
20 import com.intellij.injected.editor.VirtualFileWindow;
21 import com.intellij.openapi.Disposable;
22 import com.intellij.openapi.editor.Editor;
23 import com.intellij.openapi.editor.colors.EditorColors;
24 import com.intellij.openapi.editor.colors.EditorColorsManager;
25 import com.intellij.openapi.editor.event.CaretEvent;
26 import com.intellij.openapi.editor.event.CaretListener;
27 import com.intellij.openapi.editor.ex.DocumentEx;
ProjectRootsUtil.java (https://bitbucket.org/nbargnesi/idea.git) Java · 95 lines
OtherSourcePathFile.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 40 lines
✨ Summary
This Java class represents a SourcePathFile that doesn’t have any special functionality, extending the SourcePathFile
class. It takes a source path element and a file as parameters in its constructor. The toString()
method returns the full name of the file. This class is part of an OpenIt jEdit plugin.
This Java class represents a SourcePathFile that doesn’t have any special functionality, extending the SourcePathFile
class. It takes a source path element and a file as parameters in its constructor. The toString()
method returns the full name of the file. This class is part of an OpenIt jEdit plugin.
TodoView.java (https://bitbucket.org/nbargnesi/idea.git) Java · 354 lines
19 import com.intellij.ide.IdeBundle;
20 import com.intellij.openapi.Disposable;
21 import com.intellij.openapi.application.ApplicationManager;
22 import com.intellij.openapi.application.ModalityState;
23 import com.intellij.openapi.components.PersistentStateComponent;
24 import com.intellij.openapi.components.State;
25 import com.intellij.openapi.components.Storage;
26 import com.intellij.openapi.components.StoragePathMacros;
27 import com.intellij.openapi.fileTypes.FileTypeEvent;
28 import com.intellij.openapi.fileTypes.FileTypeListener;
ConfigureFileDefaultEncodingAction.java (https://bitbucket.org/nbargnesi/idea.git) Java · 44 lines
19 import com.intellij.openapi.actionSystem.AnAction;
20 import com.intellij.openapi.actionSystem.AnActionEvent;
21 import com.intellij.openapi.actionSystem.PlatformDataKeys;
22 import com.intellij.openapi.options.ShowSettingsUtil;
23 import com.intellij.openapi.project.Project;
24 import com.intellij.openapi.vfs.VirtualFile;
ModifierAwareArrangementEntry.java (https://bitbucket.org/nbargnesi/idea.git) Java · 32 lines
encoders.py
(git://github.com/IronLanguages/main.git)
Python · 82 lines
✨ Summary
This is a Python script that defines several functions for encoding email messages using different methods, such as Base64, quoted-printable, and 7bit or 8bit. The encode_base64
function sets the Content-Transfer-Encoding header to “base64” and encodes the message’s payload in Base64 format. The encode_quopri
function does the same for quoted-printable encoding, while the encode_7or8bit
function checks if the payload is ASCII-encoded and sets the Content-Transfer-Encoding header to “7bit” or “8bit”, depending on the result. Finally, the encode_noop
function does nothing and leaves the Content-Transfer-Encoding header unchanged.
This is a Python script that defines several functions for encoding email messages using different methods, such as Base64, quoted-printable, and 7bit or 8bit. The encode_base64
function sets the Content-Transfer-Encoding header to “base64” and encodes the message’s payload in Base64 format. The encode_quopri
function does the same for quoted-printable encoding, while the encode_7or8bit
function checks if the payload is ASCII-encoded and sets the Content-Transfer-Encoding header to “7bit” or “8bit”, depending on the result. Finally, the encode_noop
function does nothing and leaves the Content-Transfer-Encoding header unchanged.
oeb12.dtdinc (http://epubcheck.googlecode.com/svn/trunk/) Unknown · 1137 lines
WhereUsedResponder.java
(git://github.com/unclebob/fitnesse.git)
Java · 32 lines
✨ Summary
This Java class, WhereUsedResponder
, is a responder for the Fitnesse testing framework. It provides a search functionality that finds pages where a specific keyword (“where used”) has been mentioned in other pages. The responder uses a custom page finder and returns the results of the search in a template called “searchResults”.
This Java class, WhereUsedResponder
, is a responder for the Fitnesse testing framework. It provides a search functionality that finds pages where a specific keyword (“where used”) has been mentioned in other pages. The responder uses a custom page finder and returns the results of the search in a template called “searchResults”.
env_test.go
(https://github.com/dotcloud/docker.git)
Go · 313 lines
✨ Summary
This is a test file for the Env package in Go. It contains various tests to ensure that the package works correctly and provides the expected functionality. The code includes unit tests, integration tests, and benchmarks to measure the performance of the package.
This is a test file for the Env package in Go. It contains various tests to ensure that the package works correctly and provides the expected functionality. The code includes unit tests, integration tests, and benchmarks to measure the performance of the package.
RobotFixtureTest.java
(http://fest.googlecode.com/svn/)
Java · 311 lines
✨ Summary
This Java code is a test class for a GUI application, specifically testing various keyboard and mouse interactions with different components such as text fields, buttons, and pop-up menus. It verifies that expected actions are performed correctly when interacting with these components, ensuring the application behaves as expected under different scenarios.
This Java code is a test class for a GUI application, specifically testing various keyboard and mouse interactions with different components such as text fields, buttons, and pop-up menus. It verifies that expected actions are performed correctly when interacting with these components, ensuring the application behaves as expected under different scenarios.