answer
stringlengths
17
10.2M
package package1; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.List; i...
package com.jivesoftware.os.miru.stream.plugins.filter; import com.google.common.base.Optional; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.jivesoftware.os.filer.io.api.StackBuffer; import com.jivesoftware.os.miru.api.MiruPartitionCoord; import com.jivesoftware.os.miru.api.a...
/* * $Log: AppConstants.java,v $ * Revision 1.15 2008-06-03 16:04:12 europe\L190409 * let custom properties override appConstants and DeploymentSpecifics * * Revision 1.14 2008/05/29 13:41:29 Gerrit van Brakel <gerrit.van.brakel@ibissource.org> * reordered methods in file * * Revision 1.13 2007/10/10 07:27...
package io.liveoak.container.extension.service; import com.fasterxml.jackson.databind.node.ObjectNode; import io.liveoak.common.util.ConversionUtils; import io.liveoak.container.extension.ServiceUpdateResponder; import io.liveoak.spi.Application; import io.liveoak.spi.RequestContext; import io.liveoak.spi.resource.Root...
package org.openlmis.vaccine.repository.mapper.reports; import org.apache.ibatis.annotations.*; import org.openlmis.core.domain.Facility; import org.openlmis.core.domain.GeographicZone; import org.openlmis.core.domain.ProcessingPeriod; import org.openlmis.vaccine.domain.reports.*; import org.openlmis.vaccine.dto.Report...
package com.yahoo.vespa.hosted.provision.persistence; import com.google.common.util.concurrent.UncheckedTimeoutException; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.ApplicationLockException; import com.yahoo.config.provision.Environment; import com.yahoo.config.provision.NodeFlav...
package org.opennms.netmgt.provision.service; import static org.opennms.core.utils.InetAddressUtils.addr; import java.net.InetAddress; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.ExecutionException; import java.util.concurrent.ScheduledExecut...
package org.opennms.netmgt.rrd.jrobin; import java.io.File; import junit.framework.TestCase; import org.jrobin.graph.RrdGraph; import org.jrobin.graph.RrdGraphDef; import org.opennms.netmgt.rrd.RrdException; import org.opennms.test.ThrowableAnticipator; public class JRobinRrdStrategyTest extends TestCase { private ...
package org.eclipse.mylyn.trac.tests.core; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashSet; import java.util.List; import junit.framework.TestCase; import org.eclipse.core.runtime.CoreException; import org.ec...
package org.jkiss.dbeaver.ui.controls.resultset; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; import org.eclipse.jface.dialogs.IDialogConstants; import org.eclipse.swt.SWT; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.eve...
package org.jkiss.dbeaver.ui.dialogs.connection; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.jface.dialogs.IDialogConstants; import org.eclipse.osgi.util.NLS; import org.eclipse.swt.SWT; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.Modi...
package org.minimalj.util; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.logging.Logger; import org.minimalj.model.InvalidValues; import org.minimalj.model.PropertyInterface; import org.minimalj.model.annotation.Size; import org....
package org.batfish.common.bdd; import static org.batfish.datamodel.PacketHeaderConstraintsUtil.DEFAULT_PACKET_LENGTH; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.ImmutableList; import io.opentracing.Scope; import io.opentracing.Span; import io.opentracing.util.GlobalTracer;...
package com.oracle.truffle.llvm.runtime.options; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.ServiceLoader; import java.util.stream.Collectors; import com.oracle.truffle.llvm.runtime.LLVMLogger;...
package com.evolveum.midpoint.provisioning.impl; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Random; import java.util.Set; import javax.xml.XMLConstants; import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; import javax.xml.bind.JAXBIntrospector; impo...
package org.broadinstitute.sting.gatk.walkers.varianteval.evaluators; import org.apache.log4j.Logger; import org.broadinstitute.sting.gatk.contexts.AlignmentContext; import org.broadinstitute.sting.gatk.contexts.ReferenceContext; import org.broadinstitute.sting.gatk.refdata.RefMetaDataTracker; import org.broadinstitute...
package org.saiku.service.util.export.excel; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Propert...
package com.andyadc.study.springboot.quickstart.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.mail.SimpleMailMessage; import org.springframework.mail.javamail.JavaMailSender; import org.springframework.stereotype.S...
package soot.jimple.internal; import java.util.ArrayList; import java.util.Collections; import java.util.List; import soot.Unit; import soot.UnitBox; import soot.UnitPrinter; import soot.Value; import soot.ValueBox; import soot.baf.Baf; import soot.baf.PlaceholderInst; import soot.jimple.ConvertToBaf; import soot.jimpl...
package uk.me.graphe.server; import java.util.ArrayList; import java.util.List; import java.util.Set; import uk.me.graphe.server.ot.GraphProcessor; import uk.me.graphe.shared.graphmanagers.OTGraphManager2d; import uk.me.graphe.shared.jsonwrapper.JSONException; import uk.me.graphe.shared.jsonwrapper.JSONImplHolder; impo...
package br.com.dbsoft.tmp; import java.sql.Connection; import java.sql.DriverManager; import org.junit.After; import org.junit.Before; import org.junit.Test; import br.com.dbsoft.core.DBSSDK; import br.com.dbsoft.error.DBSIOException; import br.com.dbsoft.io.DBSDAO; import br.com.dbsoft.util.DBSIO; import br.com.dbsoft...
package com.tomgibara.tries; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.nio.charset.Charset; import java.util.Arrays; import java.util.C...
package core.arraylist; import org.junit.Test; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class ArrayListTest { @Test public void createArrayList() { // You can add object of an...
package gr.iti.mklab; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Properties; import java.util.Set; import gr.iti.mklab.method.InternalGrid; import gr.iti.mklab.method.Entropy; import gr.iti.mklab.method.LanguageModel; import gr.iti.mklab.tools.Clus...
package org.utplsql.api; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.function.Executable; import org.utplsql.api.compatibility.CompatibilityProxy; import org.utplsql.api.compatibility.OptionalFeatures; import org.utplsql.api.db.DatabaseInformation; import org.utplsql.api.db.DefaultDatabaseInformatio...
package es.logongas.fpempresa.businessprocess.comun.usuario.impl; import es.logongas.fpempresa.businessprocess.comun.usuario.UsuarioCRUDBusinessProcess; import es.logongas.fpempresa.modelo.comun.usuario.EstadoUsuario; import es.logongas.fpempresa.modelo.comun.usuario.TipoUsuario; import es.logongas.fpempresa.modelo.com...
package org.spongepowered.common.mixin.api.mcp.entity.player; import com.google.common.base.Preconditions; import net.kyori.adventure.audience.MessageType; import net.kyori.adventure.bossbar.BossBar; import net.kyori.adventure.inventory.Book; import net.kyori.adventure.sound.Sound; import net.kyori.adventure.sound.Soun...
package ca.corefacility.bioinformatics.irida.ria.integration.projects; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.List; import org.junit.Before; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.Logg...
package com.googlecode.streamflyer.support.saxlike; import java.util.regex.MatchResult; import com.googlecode.streamflyer.core.AfterModification; import com.googlecode.streamflyer.core.Modifier; import com.googlecode.streamflyer.support.nomatch.NoMatch; /** * Helper class for {@link HandlerAwareModifier}. * * @autho...
package com.linkedin.thirdeye.anomaly.alert.v2; import com.linkedin.thirdeye.anomaly.alert.AlertJobContext; import com.linkedin.thirdeye.anomaly.job.JobContext; import com.linkedin.thirdeye.anomaly.job.JobScheduler; import com.linkedin.thirdeye.anomaly.task.TaskConstants; import com.linkedin.thirdeye.anomaly.utils.Anom...
package uk.ac.york.mondo.integration.server.gzip; import java.io.IOException; import java.util.Collections; import java.util.Dictionary; import java.util.Set; import java.util.zip.Deflater; import java.util.zip.DeflaterOutputStream; import java.util.zip.GZIPOutputStream; import javax.servlet.http.HttpServletRequest; im...
package org.xcolab.view.pages.contestmanagement.controller.manager; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotatio...
package org.elasticsearch.xpack.ilm; import org.apache.http.entity.ContentType; import org.apache.http.entity.StringEntity; import org.apache.http.util.EntityUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.elasticsearch.client.Request; import org.elasticsearch.clien...
package org.xwiki.test.ui; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import or...
package org.perl6.rakudo; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Comparator; import org.perl6.nqp.runtime.*; import org.perl6.nqp.sixmodel.*; import org.perl6.nqp.sixmodel.reprs.CallCaptureInstance; import org.perl6.nqp.sixmodel.reprs.ContextRefInstance; import ...
import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.w3c.dom.*; import org.xml.sax.SAXException; import javax.x...
package FrontEnd; import javax.swing.JFrame; import javax.swing.JPanel; import java.awt.BorderLayout; import javax.swing.JScrollPane; import java.awt.GridLayout; import javax.jws.WebParam.Mode; import javax.swing.BoxLayout; import javax.swing.GroupLayout; import javax.swing.GroupLayout.Alignment; import java.awt.FlowLa...
import javax.swing.*; import java.awt.*; import java.awt.event.*; public class ImagePaneTest extends JFrame { ImageIcon ic = new ImageIcon("map.jpg"); JDesktopPane dp = new JDesktopPane(); JLabel lbl = new JLabel(ic); JPanel transparentPanel = new JPanel(); public ImagePaneTest() { lbl.setBounds(0,...
import org.apache.thrift.TException; import org.apache.thrift.transport.TTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TProtocol; // Generated code import loadbalancer.*; import shared.*; import java.io.*; public class LoadBal...
import org.apache.thrift.TException; import org.apache.thrift.transport.TTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TProtocol; // Generated code import loadbalancer.*; import shared.*; import java.io.*; public class LoadBal...
package com.braintreegateway; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Random; import java.util.TimeZone; import org.junit.Assert; import org.junit.Before; impo...
package net.fortuna.ical4j.model; import java.util.Calendar; import java.util.GregorianCalendar; import junit.framework.TestCase; /** * Unit tests for <code>TimeZone</code>. * @author Ben Fortuna */ public class TimeZoneTest extends TestCase { private java.util.TimeZone tz; private TimeZone timezone; /* ...
package com.ecyrd.jspwiki; import junit.framework.*; import java.io.*; import java.util.*; import javax.servlet.*; public class TranslatorReaderTest extends TestCase { Properties props = new Properties(); public TranslatorReaderTest( String s ) { super( s ); } public void setUp() thr...
package com.ecyrd.jspwiki; import com.ecyrd.jspwiki.attachment.Attachment; import com.ecyrd.jspwiki.providers.*; import junit.framework.*; import java.io.*; import java.util.*; import javax.servlet.*; import com.ecyrd.jspwiki.acl.*; import com.ecyrd.jspwiki.auth.permissions.*; import com.ecyrd.jspwiki.auth.*; public cl...
package com.ecyrd.jspwiki; import junit.framework.*; import java.io.*; import java.util.*; public class TranslatorReaderTest extends TestCase { Properties props = new Properties(); public TranslatorReaderTest( String s ) { super( s ); } public void setUp() throws Exception { ...
package tlc2.tool.fp; import java.io.EOFException; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.rmi.RemoteException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.NoSuchElementException; import java.util.concurrent.Broke...
package tlc2.tool.liveness; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; ...
package cafe.util; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class FileUtils { // Obtain a logger instance private static final Log...
package city.gui; import restaurant.Restaurant; import restaurant.RevolvingStandMonitor; import restaurant.gui.CashierGui; import restaurant.gui.CookGui; import restaurant.gui.HostGui; import restaurant.gui.RestaurantPanel; import javax.swing.*; import bank.BankBuilding; import atHome.city.Apartment; import atHome.city...
package com.authy.api; import java.io.StringReader; import java.io.StringWriter; import java.net.URLEncoder; import java.util.HashMap; import java.util.Map; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; import javax.xml.bind...
package org.wingx.plaf.css; import org.wings.SComponent; import org.wings.SFormattedTextField; import org.wings.SIcon; import org.wings.SResourceIcon; import org.wings.header.Header; import org.wings.header.SessionHeaders; import org.wings.plaf.Update; import org.wings.plaf.css.AbstractComponentCG; import org.wings.pla...
import com.sun.star.beans.PropertyState; import com.sun.star.beans.XPropertySet; import com.sun.star.beans.XPropertyState; import com.sun.star.container.XNameAccess; import com.sun.star.container.XNamed; import com.sun.star.lang.IndexOutOfBoundsException; import com.sun.star.style.ParagraphAdjust; import com.sun.star.t...
package de.fosd.jdime; import java.util.Arrays; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; import org.apache.commons.cli.PosixParser; import ...
package game_gml14; import java.util.ArrayList; import javafx.animation.KeyFrame; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.paint.Color; import javafx....
package gui; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import game.api.GameState; import backend.OthelloGameState; public class UtilityListener { private OthelloUtillityPanel utilityPanel; private OthelloGameState gameState; private OthelloGuiInputUnit inputUnit; public Ut...
package org.nick.wwwjdic.ocr; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.List; import org.acra.ErrorReporter; import org.nick.wwwjdic.Constants; import org.nick.wwwjdic.DictionaryResultListView; import org.nick.wwwjdic.ExamplesResultListView; import org.nick.wwwjd...
/* $Log$ Revision 1.8 1999/03/15 15:22:22 rimassa Changed an 'if' clause to a 'while' clause. Revision 1.7 1999/03/03 16:03:44 rimassa Changed a getName() call to getLocalName() call. Revision 1.6 1998/10/31 16:38:08 rimassa Method schedule() now does't catch InterruptedException anymore. This way...
package com.example.whatsmymood; import android.app.ActivityManager; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.util.Log; import android.view.View; import android.widget.Toast; import java.util.ArrayList; import java.util.List; public class FooterHandler { ...
package org.minijax; import java.io.IOException; import java.io.InputStream; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Executable; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import j...
package org.biojava.bio.seq.impl; import java.util.*; import org.biojava.bio.*; import org.biojava.bio.seq.*; import org.biojava.utils.*; import org.biojava.bio.symbol.*; /** * Support class for applications which need to patch together sections * of sequence into a single SymbolList. This class isn't intended * fo...
package org.bouncycastle.openpgp; import org.bouncycastle.bcpg.BCPGInputStream; import org.bouncycastle.bcpg.HashAlgorithmTags; import org.bouncycastle.bcpg.InputStreamPacket; import org.bouncycastle.bcpg.SymmetricEncIntegrityPacket; import org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket; import java.io.EOFException...
package org.concord.framework.otrunk; import java.net.URL; public interface OTObjectService { /** * Use this method create a new OTObject. * * @param objectClass - the class or interface of the object to create this class * needs to implement OTObject * @return * @throws Exception ...
package org.cornutum.tcases.generator; import org.cornutum.tcases.*; import org.cornutum.tcases.util.ToString; import org.apache.commons.collections15.IteratorUtils; import org.apache.commons.collections15.Predicate; import org.apache.commons.lang.ObjectUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; im...
package org.ensembl.healthcheck; import org.ensembl.healthcheck.configuration.ConfigurationUserParameters; import org.ensembl.healthcheck.util.SqlTemplate; import uk.co.flamingpenguin.jewel.cli.Option; /** * Copies certain configuration properties into system properties. They are * used by some healthchecks, but also...
package org.exist.collections.triggers; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.log4j.Logger; import org.exist.collections.Collection; im...
package org.exist.xquery.value; import java.math.BigDecimal; import java.text.Collator; import java.text.DecimalFormat; import java.util.Date; import java.util.GregorianCalendar; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.xml.datatype.DatatypeConstants; import javax.xml.datatype.Durati...
package org.griphyn.vdl.karajan; import org.apache.log4j.Logger; import org.globus.cog.karajan.stack.VariableStack; import org.globus.cog.karajan.workflow.ElementTree; import org.globus.cog.karajan.workflow.ExecutionContext; import org.globus.cog.karajan.workflow.events.FailureNotificationEvent; import org.griphyn.vdl....
package org.helioviewer.jhv.view.jp2view.io; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; public class LineRead { private static final int CR = 13; private static final int LF = 10; public static String readAsciiLine(...
package org.ice4j.ice.harvest; import org.ice4j.*; import org.ice4j.attribute.*; import org.ice4j.ice.*; import org.ice4j.message.*; import org.ice4j.socket.*; import org.ice4j.stack.*; import java.io.*; import java.net.*; import java.util.*; import java.util.concurrent.*; import java.util.logging.*; /** * A harvester...
package org.mtransit.android.ui.fragment; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.concurrent.TimeUnit; import org.mtransit.android.R; import org.mtransit.android.commons.ArrayUtils; import org.mtransit.androi...
package org.phenoscape.view; import java.awt.BorderLayout; import java.awt.Component; import java.awt.event.ActionEvent; import java.util.Comparator; import java.util.List; import javax.swing.AbstractAction; import javax.swing.DefaultCellEditor; import javax.swing.DefaultComboBoxModel; import javax.swing.JComboBox; imp...
package org.royaldev.royalcommands.rcommands; import org.apache.commons.lang.ArrayUtils; import org.bukkit.ChatColor; import org.bukkit.World; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.royaldev.royal...
package qa.qcri.aidr.persister.api; import java.util.List; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import org.springframework.context.ApplicationContext; import org.springframework.context.sup...
package predatorieprede02.unittests; import static org.junit.Assert.*; import predatorieprede02.*; import org.junit.Test; import predatorieprede02.PlayingField; public class PlayingFieldTest { @Test public void testGetOccupant() { PlayingField field = new PlayingField(); LinkedOrganism occupant ...
package com.algolia.search.saas; import android.support.annotation.NonNull; import com.algolia.search.offline.core.LocalIndex; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStre...
package radlab.rain.workload.rubis.util; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.sql.Connection; import java.sql.Date; import java.sql.Driver...
package com.zulipmobile.notifications; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.ReactContext; import com.fac...
package ti.modules.titanium.media; import org.appcelerator.titanium.proxy.TiViewProxy; import org.appcelerator.titanium.util.Log; import org.appcelerator.titanium.util.TiConfig; import org.appcelerator.titanium.view.TiCompositeLayout; import org.appcelerator.titanium.view.TiUIView; import android.app.Activity; import a...
package atg.tools.ant.util; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; import static atg.tools.ant.util.StringUtils.isBlank; import static atg.tools.ant.util.StringUtils.isNotBlank; import static atg.tools.ant.uti...
package com.et.monotone.zk; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.mockito.Mockito; import com.netflix.curator.framework.CuratorFramework; import com.netflix.curator.framework.imps.CuratorFrameworkState; import com.netfli...
package com.github.egonw.ops4j; import java.io.IOException; import org.apache.http.HttpException; import org.apache.http.client.ClientProtocolException; import org.junit.Assert; import org.junit.Test; public class SourcesTest extends AbstractOPS4JTest { { super.pickUpConfig(); } @Test public void list() thr...
package com.google.protobuf; import com.google.protobuf.test.UnittestImport.ImportMessage; import org.junit.Test; import protobuf_unittest.UnittestProto; import protobuf_unittest.UnittestProto.OneString; import protobuf_unittest.UnittestProto.TestAllTypes; import protobuf_unittest.UnittestProto.TestNestedExtension; imp...
// Depot library - a Java relational persistence library // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should...
package ee.pardiralli; import ee.pardiralli.db.*; import ee.pardiralli.domain.*; import io.github.bonigarcia.wdm.ChromeDriverManager; import org.junit.*; import org.junit.runner.RunWith; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa...
package com.android.janice.nursehelper; import android.content.Context; import android.database.Cursor; import android.os.Bundle; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import com.android.janice.nursehelper.data.ResidentContr...
package com.breadwallet.presenter.activities; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view....
package kr.co.vcnc.haeinsa; import java.util.Iterator; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import kr.co.vcnc.haeinsa.exception.ConflictException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase...
package com.dlsu.getbetter.getbetter.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.CursorIndexOutOfBoundsException; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.dlsu.getbetter.getbetter.object...
package net.fortuna.ical4j.model; import junit.framework.TestCase; import junit.framework.TestSuite; import net.fortuna.ical4j.model.Recur.Frequency; import net.fortuna.ical4j.model.parameter.Value; import net.fortuna.ical4j.model.property.DtEnd; import net.fortuna.ical4j.model.property.DtStart; import net.fortuna.ical...
package com.example.android.sunshine.app; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.format.Time; import android.util.Log; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; impor...
package org.easyarch.netcat.test; import org.easyarch.netpet.asynclient.client.AsyncHttpClient; import org.easyarch.netpet.asynclient.handler.callback.AsyncResponseHandlerAdapter; import org.easyarch.netpet.asynclient.http.entity.FileParam; import org.easyarch.netpet.asynclient.http.entity.FileParamBuilder; import org....
package com.example.student.fitabs; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import and...
package org.wiztools.wizcrypt; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * * @author schandran */ public class Callb...
//@@author A0147984L package seedu.address.model.task; import static org.junit.Assert.assertEquals; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.task.ReadOnlyTask.FinishProperty; public c...
// jTDS JDBC Driver for Microsoft SQL Server and Sybase // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU /...
// jTDS JDBC Driver for Microsoft SQL Server and Sybase // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU /...
package com.satsumasoftware.timetable.ui; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.NavigationView; import android.support.design.widget.TabLayout; import android.support.v4.content.ContextCompat; import android.support.v4.view.ViewPager; ...
package net.sourceforge.jtds.test; import java.sql.*; import java.math.BigDecimal; import net.sourceforge.jtds.jdbc.EscapeProcessor; import net.sourceforge.jtds.util.Logger; import junit.framework.TestSuite; /** * test getting timestamps from the database. * */ public class TimestampTest extends DatabaseTestCase { ...
package com.zst.xposed.halo.floatingwindow3; import android.app.*; import android.content.*; import android.content.res.*; import android.util.*; import android.view.*; import android.widget.*; import com.zst.xposed.halo.floatingwindow3.*; import de.robv.android.xposed.*; import de.robv.android.xposed.callbacks.*; impo...
package de.danoeh.antennapod.adapter; import android.content.Context; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.BaseAdapter; import android.widget.ImageView; import android...