class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
AppOriginCount | /**
* @author HanPengfei
* @version 1.0
* @since 1.0
*/
public class AppOriginCount {
public static final int DEFAULT_ORIGIN_COUNT = 1;
}
| .version 52 0
.class public super AppOriginCount
.super java/lang/Object
.field public static final DEFAULT_ORIGIN_COUNT I = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:55:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:55:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,500 |
DataException | /**
* An exception thrown when there is an error/inconsistency within the data.
*
* @author wieke
*/
public class DataException extends Exception {
private static final long serialVersionUID = -4238519569305114389L;
public DataException(final String string) {
super(string);
}
}
| .version 52 0
.class public super DataException
.super java/lang/Exception
.field private static final serialVersionUID J = -4238519569305114389L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Lja... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:25:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:25:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,501 |
StructPotentialItem | public class StructPotentialItem {
public byte incSTR,
incDEX,
incINT,
incLUK,
incACC,
incEVA,
incSpeed,
incJump,
incPAD,
incMAD,
incPDD,
incMDD,
prop,
time,
incSTRr,
incDEXr,
incINTr,
incLUKr,
incMHPr,
... | .version 52 0
.class public super StructPotentialItem
.super java/lang/Object
.field public incSTR B
.field public incDEX B
.field public incINT B
.field public incLUK B
.field public incACC B
.field public incEVA B
.field public incSpeed B
.field public incJump B
.field public incPAD B
.field public incMAD... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:23:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:23:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,502 |
DummyThrowable | /* Copyright (c) 2000-2004 jMock.org
*/
public class DummyThrowable extends Throwable {
private static final long serialVersionUID = 1L;
public DummyThrowable() {
super();
}
public DummyThrowable(String message) {
super(message);
}
}
| .version 52 0
.class public super DummyThrowable
.super java/lang/Throwable
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Throwable <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:20:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:20:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,503 |
SurroundingWords | import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class SurroundingWords {
private Map<String, HashSet<String>> surroundMap;
pub... | .version 52 0
.class public super SurroundingWords
.super java/lang/Object
.field private surroundMap Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/util/HashSet<Ljava/lang/String;>;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0: al... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:02:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteFile;
import org.evosuite.runtime.te... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:02:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,504 |
CustomerWithId | /*
* Copyright (c) 2015-2017 Toby Weston
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | .version 52 0
.class public super CustomerWithId
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final address Ljava/lang/String;
.field private id Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:15:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:15:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,505 |
BrAndBwOrPwDemo | import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
public class BrAndBwOrPwDemo {
public static void main(String[] args) throws IOException {
// ¶ÔÎļþ½øÐжÁд²Ù×÷
BufferedReader br =
new BufferedRea... | .version 52 0
.class public super BrAndBwOrPwDemo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:24:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:24:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,506 |
MusicTrack | import java.io.Serializable;
public class MusicTrack implements Serializable {
private String filePath;
private String trackName;
private String artistName;
private long trackID;
private long trackDuration;
public MusicTrack(
String filePath, String trackName, String artistName, long trackID, long ... | .version 52 0
.class public super MusicTrack
.super java/lang/Object
.implements java/io/Serializable
.field private filePath Ljava/lang/String;
.field private trackName Ljava/lang/String;
.field private artistName Ljava/lang/String;
.field private trackID J
.field private trackDuration J
.method public <init... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:17:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:17:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,507 |
Solution | import java.util.Arrays;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int height[] = new int[n];
int count;
for (int height_i = 0; height_i < n; height_i++) {
height[height_i] = in.nex... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:56:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.InputMismatchException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:56:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,508 |
FixRepeatingGroup | import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
/*-
The MIT License (MIT)
Copyright (c) 2019-2020 Global Forge LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Soft... | .version 52 0
.class public super FixRepeatingGroup
.super java/lang/Object
.field protected final groupId Ljava/lang/String;
.field protected final groupDelim Ljava/lang/String;
.field protected final memberSet Ljava/util/LinkedHashSet; .fieldattributes
.signature Ljava/util/LinkedHashSet<Ljava/lang/String;>... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:01:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:01:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,509 |
DeveloperIdentityDatabaseConstants | /**
* The Class <code>
* com.bitdubai.fermat_pip_plugin.layer.identity.developer.developer.bitdubai.version_1.database.DeveloperIdentityDatabaseConstants
* </code> keeps constants the column names of the database.
*
* <p>
*
* <p>Created by Ezequiel Postan - (ezequiel.postan@gmail.com) on 14/07/15.
*
* @version... | .version 52 0
.class public super DeveloperIdentityDatabaseConstants
.super java/lang/Object
.field public static final DEVELOPER_DB_NAME Ljava/lang/String; = 'DevelopersDB'
.field public static final DEVELOPER_TABLE_NAME Ljava/lang/String; = 'DevelopersTable'
.field public static final DEVELOPER_DEVELOPER_PUBLIC_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:54:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:54:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,510 |
Server | public class Server {
public static final String PASSWORD = "123456";
private void printPassword() {
System.out.println("Password = " + PASSWORD);
}
}
| .version 52 0
.class public super Server
.super java/lang/Object
.field public static final PASSWORD Ljava/lang/String; = '123456'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:15:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:15:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,511 |
MaxSum | /**
* @(#) MaxSum.java Jan 11, 2010 4:18:48 PM Copyright (C) 2009 GeeYee Inc. 60606, Chicago, IL, USA
* All right reserved
*/
/**
* Class <code>MaxSum</code>
*
* @author Xiaowen dingxwsimon@gmail.com
* @since Jan 11, 2010 4:18:48 PM
*/
public class MaxSum {
// handle negative also
public int maxSum(int[] ... | .version 52 0
.class public super MaxSum
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 15
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:20:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:20:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,512 |
ExecutionException | /*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | .version 52 0
.class public super ExecutionException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:10:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:10:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,513 |
FileReaderTest | import java.io.*;
import java.util.*;
public class FileReaderTest {
public static void main(String[] args) {
for (int i = 0; i < args.length; i++) {
try {
BufferedReader br = new BufferedReader(new FileReader(args[i]));
StringTokenizer st = new StringTokenizer(br.readLine());
m... | .version 52 0
.class public super FileReaderTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:28:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.t... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:28:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,514 |
DelegateInputStream | /*
* Copyright 2015-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super DelegateInputStream
.super java/io/InputStream
.field protected final in Ljava/io/InputStream;
.method public <init> : (Ljava/io/InputStream;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/io/InputStream <init> ()V
L4: aload_0
L5: aload... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:04:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.PipedInputStream;
import jav... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:04:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,515 |
Yytoken | /** The tokens returned by the scanner. */
class Yytoken {
public int m_index;
public String m_text;
public int m_line;
public int m_charBegin;
public int m_charEnd;
Yytoken(int index, String text, int line, int charBegin, int charEnd) {
m_index = index;
m_text = text;
m_line = line;
m_char... | .version 52 0
.class super Yytoken
.super java/lang/Object
.field public m_index I
.field public m_text Ljava/lang/String;
.field public m_line I
.field public m_charBegin I
.field public m_charEnd I
.method <init> : (ILjava/lang/String;III)V
.code stack 2 locals 6
L0: aload_0
L1: invokespecial ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:48:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:48:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,516 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:53:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:53:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,517 |
ImageInfo | /*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; eithe... | .version 52 0
.class public super ImageInfo
.super java/lang/Object
.field width I
.field height I
.field clip Ljava/awt/geom/Rectangle2D;
.field bgColor Ljava/awt/Color;
.method public <init> : (IILjava/awt/geom/Rectangle2D;)V
.code stack 5 locals 4
L0: aload_0
L1: iload_1
L2: iload_2
L3: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:50:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Color;
import java.awt.Rectangle;
import java.awt.geom.Line2D;
import java.awt.geom.Rectangle2D;
import org.evosuite.runtime.EvoRunner;
import org.evosui... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:50:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,518 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String PACKAGE_NAME = "com.facebook.samples.placepicker";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR =... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z
.field public static final PACKAGE_NAME Ljava/lang/String; = 'com.facebook.samples.placepicker'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLAVOR Ljava/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:06:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:06:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,519 |
Solution | /*
* @lc app=leetcode id=991 lang=java
*
* [991] Broken Calculator
*
* https://leetcode.com/problems/broken-calculator/description/
*
* algorithms
* Medium (46.31%)
* Total Accepted: 21.8K
* Total Submissions: 47.1K
* Testcase Example: '2\n3'
*
* On a broken calculator that has a number showing on its ... | .version 52 0
.class super Solution
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 70
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:51:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:51:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 149,520 |
EpisodeBase | import java.util.Date;
public class EpisodeBase {
private Date plannedFrom;
private Date plannedTo;
private Date realFrom;
private Date realTo;
public Date getPlannedFrom() {
return plannedFrom;
}
public void setPlannedFrom(Date plannedFrom) {
this.plannedFrom = plannedFrom;
}
public D... | .version 52 0
.class public super EpisodeBase
.super java/lang/Object
.field private plannedFrom Ljava/util/Date;
.field private plannedTo Ljava/util/Date;
.field private realFrom Ljava/util/Date;
.field private realTo Ljava/util/Date;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:10:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:10:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,521 |
ResultPack | /*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Please send inquiries to huber AT ut DOT ee
*/
import java.io.Se... | .version 52 0
.class public super ResultPack
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 2L
.field result Ljava/lang/Object;
.field state Ljava/lang/Object;
.method public <init> : (Ljava/lang/Object;Ljava/lang/Object;)V
.code stack 2 locals 3
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:02:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:02:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,522 |
RoleHasUserException | /** Represents a failed attempt to delete a role currently assigned to a user. */
public class RoleHasUserException extends RuntimeException {
public RoleHasUserException(String message) {
super(message);
}
}
| .version 52 0
.class public super RoleHasUserException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:47:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:47:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,523 |
TemplateDefCreateException | /** Define an exception to be thrown out. Created by simon on 14-8-8. */
public class TemplateDefCreateException extends Exception {
public TemplateDefCreateException() {}
public TemplateDefCreateException(String message) {
super(message);
}
public TemplateDefCreateException(String message, Throwable caus... | .version 52 0
.class public super TemplateDefCreateException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 8
L4 9
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:04:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:04:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,524 |
DataAccessException | /*
* Copyright (c) 2010. The Codehaus. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | .version 52 0
.class public super DataAccessException
.super java/lang/IllegalStateException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/IllegalStateException <init> ()V
L4: return
L5:
.linenumbertable
L0 24
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:57:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:57:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,525 |
GreetingBean | import java.util.HashMap;
import java.util.Map;
public class GreetingBean {
private String langCode;
private String greeting;
private String selLang;
private String goStr;
private Map<String, String> langNames;
public GreetingBean() {
langCode = "en";
greeting = "Hello, World!";
selLang = "Ch... | .version 52 0
.class public super GreetingBean
.super java/lang/Object
.field private langCode Ljava/lang/String;
.field private greeting Ljava/lang/String;
.field private selLang Ljava/lang/String;
.field private goStr Ljava/lang/String;
.field private langNames Ljava/util/Map; .fieldattributes
.signature ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:10:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:10:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,526 |
URLUtil | /**
* SignOps adds new sign operations to the game. Copyright (C) 2016 tmxx
*
* <p>This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any lat... | .version 52 0
.class public super URLUtil
.super java/lang/Object
.field public static final GOOD_IRI_CHAR Ljava/lang/String; = 'a-zA-Z0-9\xa0-\ud7ff豈-\ufdcfﷰ-\uffef'
.field public static final IP_ADDRESS Ljava/util/regex/Pattern;
.field private static final IRI Ljava/lang/String; = '[a-zA-Z0-9\xa0-\ud7ff豈-\ufdcfﷰ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:03:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:03:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,527 |
BaseConnectionDecorator | import java.sql.*;
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.Executor;
public class BaseConnectionDecorator implements Connection {
private Connection reference;
public BaseConnectionDecorator(Connection reference) {
this.reference = reference;
}
public void close() ... | .version 52 0
.class public super BaseConnectionDecorator
.super java/lang/Object
.implements java/sql/Connection
.field private reference Ljava/sql/Connection;
.method public <init> : (Ljava/sql/Connection;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:25:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.sql.CallableStatement;
import java.sql.Connectio... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:25:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,528 |
FileUtilityException | /*
* Copyright (C) 2009-2015 Pivotal Software, Inc
*
* This program is is free software; you can redistribute it and/or modify
* it under the terms version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* b... | .version 52 0
.class public super FileUtilityException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:32:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:32:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,529 |
Main | // "Replace with toArray" "true"
import java.util.List;
public class Main {
public Object[] testToArray(List<String> data) {
return data.stream().filter(str -> !str.isEmpty()).toArray();
}
}
| .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:28:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:28:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,530 |
KeyboardListener | public class KeyboardListener {}
| .version 52 0
.class public super KeyboardListener
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:55:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:55:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,531 |
MiniTab | /*
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and do... | .version 52 0
.class public super MiniTab
.super java/lang/Object
.field private key Ljava/lang/String;
.field private mode Ljava/lang/String;
.field private name Ljava/lang/String;
.field private param Ljava/lang/String;
.field private selected Ljava/lang/Boolean;
.method public <init> : ()V
.code stack ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:58:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:58:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,532 |
ServiceUnavailableException | /*
* Copyright 2015 Odnoklassniki Ltd, Mail.Ru Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | .version 52 0
.class public super ServiceUnavailableException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 21
L4 22
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:43:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:43:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,533 |
UnmodifiableClassException | /*
* Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/**
* Thrown by an implementation of {@link java.lang.instrument.Instrumentation#redefineClasses
* In... | .version 52 0
.class public super UnmodifiableClassException
.super java/lang/Exception
.field private static final serialVersionUID J = 1716652643585309178L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:05:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:05:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,534 |
ClassHelper | /** Description: ClassHelper Author: Rocko Update: Rocko(2015-01-15 14:09) */
public class ClassHelper {
/**
* 是否存在某个类
*
* @param className The full name of the class
* @return
*/
public static boolean hasClass(String className) {
try {
Class.forName(className);
return true;
} cat... | .version 52 0
.class public super ClassHelper
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:31:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:31:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,535 |
AuthParameters | /*
* Copyright 2013 OmniFaces.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | .version 52 0
.class public super AuthParameters
.super java/lang/Object
.field private username Ljava/lang/String;
.field private password Ljava/lang/String;
.field private rememberMe Ljava/lang/Boolean;
.field private noPassword Ljava/lang/Boolean;
.field private authMethod Ljava/lang/String;
.field private r... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:09:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:09:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,536 |
ObjectTouchLog | /** */
import java.io.Serializable;
import java.sql.Timestamp;
/**
* @author weiht
*/
@SuppressWarnings("serial")
public class ObjectTouchLog implements Serializable {
private Long id;
private String objectId;
private String entity;
private String updaterId;
private Timestamp updateTime;
private String l... | .version 52 0
.class public super ObjectTouchLog
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/Long;
.field private objectId Ljava/lang/String;
.field private entity Ljava/lang/String;
.field private updaterId Ljava/lang/String;
.field private updateTime Ljava/sql/Timesta... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:36:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Timestamp;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.c... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:36:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,537 |
SunRsaSignEntries | /*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class public final super SunRsaSignEntries
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 37
L4 39
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:34:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:34:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,538 |
PreferenceString | public class PreferenceString {
public static final String userInfo = "userInfo";
public static final String configInfo = "configInfo";
public static final String runTimeRingtone = "runTimeRingtone";
public static final String restTimeRingtone = "restTimeRingtone";
public static final String KEEP_SCREEN_ON ... | .version 52 0
.class public super PreferenceString
.super java/lang/Object
.field public static final userInfo Ljava/lang/String; = 'userInfo'
.field public static final configInfo Ljava/lang/String; = 'configInfo'
.field public static final runTimeRingtone Ljava/lang/String; = 'runTimeRingtone'
.field public sta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:44:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:44:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,539 |
Constants | /*******************************************************************************
* SwarmPulse - A service for collective visualization and sharing of mobile
* sensor data, text messages and more.
*
* Copyright (C) 2015 ETH Zürich, COSS
*
* This file is part of SwarmPulse.
*
* SwarmPulse is f... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static DUMMY_DATA_COLLECT Z
.field protected static final SENSOR_TYPE_LIGHT I = 0
.field protected static final SENSOR_TYPE_NOISE I = 1
.field protected static final SENSOR_TYPE_ACCELEROMETER I = 2
.field protected static final SEN... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:38:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:38:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,540 |
Actividad2 |
/**
* @author velko
*/
public class Actividad2 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
int[][] suma = new int[5][5];
for (int i = 0; i < suma.length; i++) {
for (int j = 0; j < suma[i].length; j++) {
suma[i][j] = i + j;
}
... | .version 52 0
.class public super Actividad2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:59:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:59:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,541 |
ExtendedEuclid | import java.math.BigInteger;
public class ExtendedEuclid {
// private TextView tvResultEuclides;
// public void setTvResultEuclides(TextView tvResultEuclides) {
// this.tvResultEuclides = tvResultEuclides;
// }
// public void solve(BigInteger a, BigInteger b) throws Exception {
// BigInteger x = BigIn... | .version 52 0
.class public super ExtendedEuclid
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:02:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:02:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,542 |
StaticInit | // Test case for Issue 353:
// https://code.google.com/p/checker-framework/issues/detail?id=353
// @skip-test
class StaticInit {
static String a;
static {
a.toString();
}
}
| .version 52 0
.class super StaticInit
.super java/lang/Object
.field static a Ljava/lang/String;
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:07:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:07:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,543 |
Util | import java.util.ArrayList;
import java.util.List;
public class Util {
public static List<String> generateShingles(String raw, int shingleSize) {
List<String> shingles = new ArrayList<String>(raw.length() - shingleSize);
for (int i = 0; i < raw.length() - shingleSize; i++) {
shingles.add(raw.substring... | .version 52 0
.class public super Util
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:52:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:52:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,544 |
AllOps | // : operators/AllOps.java
// Tests all the operators on all the primitive data types
// to show which ones are accepted by the Java compiler.
public class AllOps {
// To accept the results of a boolean test:
void f(boolean b) {}
void boolTest(boolean x, boolean y) {
// Arithmetic operators:
// ! x = x ... | .version 52 0
.class public super AllOps
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:36:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:36:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,545 |
Messages | public class Messages {
static final String ERROR_INVALID_PARAMETER_DECLARATION =
"Unable to register event observer method <%s> of class <%s>.\n"
+ "An event observer method must have exactly one argument\n"
+ "declaring the event to watch out for.";
static final String ERROR_DURING_EVENT... | .version 52 0
.class public super Messages
.super java/lang/Object
.field static final ERROR_INVALID_PARAMETER_DECLARATION Ljava/lang/String; = 'Unable to register event observer method <%s> of class <%s>.\nAn event observer method must have exactly one argument\ndeclaring the event to watch out for.'
.field static... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:52:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:52:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,546 |
Limit | /** A limit clause in the form [LIMIT {[offset,] row_count) | (row_count | ALL) OFFSET offset}] */
public class Limit {
private long offset;
private long rowCount;
private boolean rowCountJdbcParameter = false;
private boolean offsetJdbcParameter = false;
private boolean limitAll;
private boolean comma = f... | .version 52 0
.class public super Limit
.super java/lang/Object
.field private offset J
.field private rowCount J
.field private rowCountJdbcParameter Z
.field private offsetJdbcParameter Z
.field private limitAll Z
.field private comma Z
.field private commentLimit Ljava/lang/String;
.field private commentOf... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:39:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:39:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,547 |
SaveAmidstBackupDirectory | import java.io.File;
public class SaveAmidstBackupDirectory {
private final File root;
private final File players;
private final File playerdata;
public SaveAmidstBackupDirectory(File root) {
this.root = root;
this.players = new File(root, "players");
this.playerdata = new File(root, "playerdata")... | .version 52 0
.class public super SaveAmidstBackupDirectory
.super java/lang/Object
.field private final root Ljava/io/File;
.field private final players Ljava/io/File;
.field private final playerdata Ljava/io/File;
.method public <init> : (Ljava/io/File;)V
.code stack 5 locals 2
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:17:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import java.net.URI;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:17:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,548 |
StringUtils | public class StringUtils {
public static boolean isEmpty(String s) {
return (s == null) || (s.isEmpty());
}
}
| .version 52 0
.class public super StringUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:50:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:50:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,549 |
NullingByteOut | /****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... | .version 52 0
.class public super NullingByteOut
.super java/io/OutputStream
.field private closed Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/io/OutputStream <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field NullingByteOut close... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:17:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:17:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,550 |
FileSplit | import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.*;
public class FileSplit {
private List<byte[]> listBytes;
public FileSplit(String filePath) {
listBytes = splitFile(new File(filePath));... | .version 52 0
.class public super FileSplit
.super java/lang/Object
.field private listBytes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<[B>;
.end fieldattributes
.method public <init> : (Ljava/lang/String;)V
.code stack 5 locals 2
L0: aload_0
L1: invokespecial Method java/lan... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:52:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:52:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,551 |
Strings | public class Strings {
// Block Name Constants
public static final String INVENTORY_SCANNER = "inventoryScanner";
public static final String QUANTUM_STATE_DISRUPTER = "quantumStateDisrupter";
public static final String ATOMIC_CONSTRUCTOR = "atomicConstructor";
public static final String CONSOLE = "console";
... | .version 52 0
.class public super Strings
.super java/lang/Object
.field public static final INVENTORY_SCANNER Ljava/lang/String; = 'inventoryScanner'
.field public static final QUANTUM_STATE_DISRUPTER Ljava/lang/String; = 'quantumStateDisrupter'
.field public static final ATOMIC_CONSTRUCTOR Ljava/lang/String; = '... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:49:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:49:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,552 |
BaseEvents | /**
* @author sien
* @date 2016/9/14
* @descript 基类事件
*/
public class BaseEvents {
public static final int STATUS_SUCCESS = 1;
public static final int STATUS_FAIL_NETERROR = 2;
public static final int STATUS_FAIL_OHTERERROR = 3;
protected int status;
protected Object data;
public BaseEvents(int status... | .version 52 0
.class public super BaseEvents
.super java/lang/Object
.field public static final STATUS_SUCCESS I = 1
.field public static final STATUS_FAIL_NETERROR I = 2
.field public static final STATUS_FAIL_OHTERERROR I = 3
.field protected status I
.field protected data Ljava/lang/Object;
.method public <i... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:00:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 08:00:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,553 |
SecureKey | /**
* Copyright (c) 2000,1,2,3,4,5 visualtrading.org
*
* @author thanos vassilakis
* @author yarik chinskiy
*/
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class SecureKey {
// ------------------------------ FIELDS ------------------------------
static final Stri... | .version 52 0
.class public super SecureKey
.super java/lang/Object
.field static final usage Ljava/lang/String; = [s9]
.field static final usage2 Ljava/lang/String; = [s11]
.field private static final HEX_CHARS [C
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:17:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:17:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,554 |
Vessel | /*
* Copyright (C) 2011 Secretariat of the Pacific Community
*
* This file is part of TUBS.
*
* TUBS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at you... | .version 52 0
.class public super Vessel
.super java/lang/Object
.field private id J
.field private ffaVid J
.field private gearType Ljava/lang/String;
.field private name Ljava/lang/String;
.field private registrationNumber Ljava/lang/String;
.field private flag Ljava/lang/String;
.field private c_boat_id Lja... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:13:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:13:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,555 |
TextMessageInfo | public class TextMessageInfo {
protected String message;
protected String user;
protected boolean sender;
protected String color;
public TextMessageInfo(String nUser, String nMessage, String nColor, boolean nSender) {
message = nMessage;
user = nUser;
sender = nSender;
color = nColor;
}
... | .version 52 0
.class public super TextMessageInfo
.super java/lang/Object
.field protected message Ljava/lang/String;
.field protected user Ljava/lang/String;
.field protected sender Z
.field protected color Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:37:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:37:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,556 |
Range | public class Range {
private int start;
private int end;
public Range(int start, int end) {
this.start = start;
this.end = end;
}
public int getStart() {
return start;
}
public void setStart(int start) {
this.start = start;
}
public int getEnd() {
return end;
}
public void... | .version 52 0
.class public super Range
.super java/lang/Object
.field private start I
.field private end I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Range start I
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:06:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:06:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,557 |
DateUtil | import java.sql.Date;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class DateUtil {
private static final long SECOND = 1000;
private static final long MINUTE = 60 * SECOND;
private static final long HOUR = 60 * MINUTE;
private static final long DAY = 24 * ... | .version 52 0
.class public super DateUtil
.super java/lang/Object
.field private static final SECOND J = 1000L
.field private static final MINUTE J = 60000L
.field private static final HOUR J = 3600000L
.field private static final DAY J = 86400000L
.method private <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:04:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Date;
import java.sql.Timestamp;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.Syst... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:04:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,558 |
DiabetesData | import java.util.Arrays;
import java.util.List;
public class DiabetesData {
private final List<String> data;
DiabetesData(List<String> d) {
data = d;
}
public List<String> getData() {
return data;
}
public static DiabetesData makeData(String csv_line) {
final String[] d = csv_line.split(",")... | .version 52 0
.class public super DiabetesData
.super java/lang/Object
.field private final data Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method <init> : (Ljava/util/List;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Meth... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:42:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:42:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,559 |
Rational | import java.math.*;
public class Rational extends Number implements Comparable {
// Data fields for numerator and denominator
private BigInteger[] r = new BigInteger[2];
/** Construct a ratinoal with default properties */
public Rational() {
this(BigInteger.ZERO, BigInteger.ONE);
}
/** Construct a ra... | .version 52 0
.class public super Rational
.super java/lang/Number
.implements java/lang/Comparable
.field private r [Ljava/math/BigInteger;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: getstatic Field java/math/BigInteger ZERO Ljava/math/BigInteger;
L4: getstatic Field j... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:41:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:41:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,560 |
Angle | /**
* Copyright 2013 Cameron Cook<br>
* <br>
* Licensed under the Apache License, Version 2.0 (the "License");<br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at<br>
* <br>
* http://www.apache.org/licenses/LICENSE-2.0<br>
* <br>
* Unless require... | .version 52 0
.class public super Angle
.super java/lang/Object
.field private deg I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Angle deg I
L9: return
L10:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:23:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:23:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,561 |
ActionNotCompletedException | public class ActionNotCompletedException extends Exception {}
| .version 52 0
.class public super ActionNotCompletedException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:48:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:48:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,562 |
UserPass | public class UserPass {
private String Username = null;
private String Password = null;
private String location = null;
public String getUsername() {
return Username;
}
public void setUsername(String username) {
Username = username;
}
public String getPassword() {
return Password;
}
... | .version 52 0
.class public super UserPass
.super java/lang/Object
.field private Username Ljava/lang/String;
.field private Password Ljava/lang/String;
.field private location Ljava/lang/String;
.method public getUsername : ()Ljava/lang/String;
.code stack 1 locals 1
L0: aload_0
L1: getfield Fiel... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:20:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:20:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,563 |
LogServiceException | /** Created by mikl on 30.10.16. */
public class LogServiceException extends Exception {
public LogServiceException(Throwable cause) {
super(cause);
}
}
| .version 52 0
.class public super LogServiceException
.super java/lang/Exception
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Throwable;)V
L5: return
L6:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:03:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:03:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,564 |
PolypenGroesseConstants | /** Konstanten für den Typ PolypenGroesse. */
public class PolypenGroesseConstants {
/** Konstante für PolypenGroesse (kleiner 0,5 cm). */
public static final String KLEINER_EIN_HALB_CM = "1";
/** Konstante für PolypenGroesse (0,5 - 1 cm). */
public static final String EIN_HALB_BIS_1_CM = "2";
/** Konstante... | .version 52 0
.class public super PolypenGroesseConstants
.super java/lang/Object
.field public static final KLEINER_EIN_HALB_CM Ljava/lang/String; = '1'
.field public static final EIN_HALB_BIS_1_CM Ljava/lang/String; = '2'
.field public static final EIN_BIS_2_CM Ljava/lang/String; = '3'
.field public static fina... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:11:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:11:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,565 |
LogParserTest | public class LogParserTest {}
| .version 52 0
.class public super LogParserTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:19:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:19:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,566 |
Example | /*
Copyright 2012 Frank Dietrich
This software distributed under the terms of the.
GNU General Public License Version 3 (GPLv3) of the License,.
or (at your option) any later version.
This file is part of the library libevatr.
libevatr is free software; you can redistribute it and/or modify
it under the terms of the... | .version 52 0
.class public super Example
.super java/lang/Object
.field private static final ZON_API_KEY Ljava/lang/String; = 'INSERT_YOUR_ZEIT_API_KEY_HERE'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:55:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.t... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:55:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,567 |
FlagInfo | /** Basic flag information */
public class FlagInfo {
/** Name of the flag */
private final String name;
/** One-word description */
private final String desc;
private final boolean optional;
public FlagInfo(String name, String desc, boolean optional) {
this.name = name;
this.desc = desc;
this... | .version 52 0
.class public super FlagInfo
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final desc Ljava/lang/String;
.field private final optional Z
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Z)V
.code stack 2 locals 4
L0: aload_0
L1: invok... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:37:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:37:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,568 |
Command | /**
* Represents a command.
*
* @author Graham
*/
public final class Command {
/** The name of the command. */
private final String name;
/** The command's arguments. */
private final String[] arguments;
/**
* Creates the command.
*
* @param name The name of the command.
* @param arguments ... | .version 52 0
.class public final super Command
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final arguments [Ljava/lang/String;
.method public <init> : (Ljava/lang/String;[Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:59:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:59:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,569 |
ExternalObject | /**
* External object of a topic
*
* @author Communote GmbH - <a href="http://www.communote.com/">http://www.communote.com/</a>
*/
public class ExternalObject {
private String externalObjectId;
private String externalObjectName;
/**
* @return the identifier of the external object
*/
public String g... | .version 52 0
.class public super ExternalObject
.super java/lang/Object
.field private externalObjectId Ljava/lang/String;
.field private externalObjectName Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:00:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:00:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,570 |
RequestResponse | /*
Copyright (C) 2012 Filippe Costa Spolti
This file is part of Hrstatus.
Hrstatus is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later v... | .version 52 0
.class public super RequestResponse
.super java/lang/Object
.field private customMessage Ljava/lang/String;
.field private responseMessage Ljava/lang/String;
.field private responseBody Ljava/lang/String;
.field private responseErrorMessage Ljava/lang/String;
.field private failedSubject Ljava/lang... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:26:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:26:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,571 |
LegacyFloat | public class LegacyFloat implements Comparable<LegacyFloat> {
public float value;
@Override
public int compareTo(final LegacyFloat o) {
return Float.compare(this.value, o.value);
}
@Override
public String toString() {
return "" + this.value;
}
@Override
public int hashCode() {
final in... | .version 52 0
.class public super LegacyFloat
.super java/lang/Object
.implements java/lang/Comparable
.field public value F
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:23:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:23:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,572 |
App | public class App {
private String name;
public App() {}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
| .version 52 0
.class public super App
.super java/lang/Object
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:53:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:53:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,573 |
Solution | public class Solution {
public int minDistance(String word1, String word2) {
if (word1 == null || word1.length() == 0) {
return word2.length();
}
if (word2 == null || word2.length() == 0) {
return word1.length();
}
String minWord = word1.length() > word2.length() ? word2 : word1;
... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:08:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:08:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,574 |
PeekingIterator | import java.util.Iterator;
/** Created by yanya04 on 1/22/2018. */
public class PeekingIterator implements Iterator<Integer> {
private Iterator<Integer> iter;
private Integer peek;
public PeekingIterator(Iterator<Integer> iterator) {
// initialize any member here.
this.iter = iterator;
}
// Return... | .version 52 0
.class public super PeekingIterator
.super java/lang/Object
.implements java/util/Iterator
.field private iter Ljava/util/Iterator; .fieldattributes
.signature Ljava/util/Iterator<Ljava/lang/Integer;>;
.end fieldattributes
.field private peek Ljava/lang/Integer;
.method public <init> : (Ljava... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:03:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.util.Iterator;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameter... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:03:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,575 |
Employee | public class Employee {
public Long mId;
public String mEmployeeId;
public String mName;
public String mLineId;
public String mMid;
public String mUserId;
public String mMobileNo;
public String mOfficeNo;
public Short mOfficeFloor;
public Integer mOfficeDept;
public Short mUserType;
public Empl... | .version 52 0
.class public super Employee
.super java/lang/Object
.field public mId Ljava/lang/Long;
.field public mEmployeeId Ljava/lang/String;
.field public mName Ljava/lang/String;
.field public mLineId Ljava/lang/String;
.field public mMid Ljava/lang/String;
.field public mUserId Ljava/lang/String;
.fiel... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:59:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:59:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,576 |
Email | public class Email {
private String address;
public Email() {}
public void setAddress(String address) {
this.address = address;
}
public String getAddress() {
return address;
}
}
| .version 52 0
.class public super Email
.super java/lang/Object
.field private address Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:48:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:48:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,577 |
VSOConstants | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Roberto
*/
public class VSOConstants {
private VSOConstants() {}
public static final String ASSERTION = "asserti... | .version 52 0
.class public super VSOConstants
.super java/lang/Object
.field public static final ASSERTION Ljava/lang/String; = 'assertion'
.field public static final CLIENT_ASSERTION_TYPE Ljava/lang/String; = 'client_assertion_type'
.field public static final CLIENT_ASSERTION Ljava/lang/String; = 'client_asserti... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:33:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:33:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 149,578 |
RenderException | /**
* Copyright (c) 2011-2012, James Zhan 詹波 (jfinal@126.com).
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless require... | .version 52 0
.class public super RenderException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -6448434551667513804L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:50:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:50:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,579 |
CCV | /*
Name: Jeilymar Brady
Assignment: 4
Title: Credit Card Validation
Course: CSCE144
Section: 1 - Hauser
Lab Section: 2 - Hauser
Semester: Spring 2014
Instructor: Hauser
Date: 3 April 2014
Sources consulted:
Known Bugs: none
Program Description:
Creativity:
Instructions: javac CCV.java then java CCV then follow onscr... | .version 52 0
.class public super CCV
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 20
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:55:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:55:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,580 |
Test | public class Test {
/**
* Makes the given resource committable. Committable means that it is writeable and that its
* content hasn't changed by calling <code>validateEdit</code> for the given resource on
* <tt>IWorkspace</tt>.
*
* @param list Liste of things
* @see #foo(java.util. Vector)
*/
pu... | .version 52 0
.class public super Test
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:07:12 GMT 2022
*/
import static org.junit.Assert.*;
import java.util.Vector;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameter... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:07:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,581 |
Reservation | /*
* Copyright (c) 2014 Baidu.com, Inc. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | .version 52 0
.class public super Reservation
.super java/lang/Object
.field private reservationLength I
.field private reservationTimeUnit Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:21:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:21:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,582 |
InvalidBidException | /**
* @author André Schmer
*/
public class InvalidBidException extends Exception {
private static final long serialVersionUID = 1L;
public InvalidBidException() {
super();
}
public InvalidBidException(final String msg) {
super(msg);
}
}
| .version 52 0
.class public super InvalidBidException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:49:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:49:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,583 |
Reader | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class Reader {
public static String read(InputStream inputStream) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
StringBuilder... | .version 52 0
.class public super Reader
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:54:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.ByteArrayInputStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(E... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:54:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,584 |
RateLimitException | /*
The MIT License(MIT)
Copyright(c) 2016 Copyleaks LTD (https://copyleaks.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to... | .version 52 0
.class public super RateLimitException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'Too many requests. Please wait before calling again.'
L3: invokespecial Method java/lang/Ex... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:49:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:49:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,585 |
BlockStoreException | /**
* Copyright 2011 Google Inc.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed ... | .version 52 0
.class public super BlockStoreException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:17:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:17:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,586 |
VolumeStatusAction | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | .version 52 0
.class public super VolumeStatusAction
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private code Ljava/lang/String;
.field private description Ljava/lang/String;
.field private eventType Ljava/lang/String;
.field private eventId Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:48:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:48:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,587 |
LoginRequest | import java.io.Serializable;
public class LoginRequest implements Serializable {
/** */
private static final long serialVersionUID = 8473459948904602555L;
private String username;
private String password;
public LoginRequest() {}
public String getUsername() {
return username;
}
public void set... | .version 52 0
.class public super LoginRequest
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 8473459948904602555L
.field private username Ljava/lang/String;
.field private password Ljava/lang/String;
.method public <init> : ()V
.code stack 1 local... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:51:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:51:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,588 |
UserPreferencesDto | import java.util.Set;
/** The <code>UserPreferencesDto</code> contains information about user preferences of an entity. */
public class UserPreferencesDto {
/** The entity class name. */
private String className;
/** Username of the preferences owner. */
private String username;
/** The size of the grid. ... | .version 52 0
.class public super UserPreferencesDto
.super java/lang/Object
.field private className Ljava/lang/String;
.field private username Ljava/lang/String;
.field private gridRowsNumber Ljava/lang/Integer;
.field private visibleFields Ljava/util/Set; .fieldattributes
.signature Ljava/util/Set<Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:55:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedHashSet;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.Run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:55:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,589 |
C1 | @FunctionalInterface
interface I {
int foo(int x);
}
public class C1 {
I i =
(int x) -> {
int p = 10;
I /*[*/ renamedIi /*]*/ = (int a) -> a + 100;
return renamedIi.foo(x) + p;
};
}
| .version 52 0
.class public super C1
.super java/lang/Object
.field i LI;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: invokedynamic [id2]
L10: putfield Field C1 i LI;
L13: return
L14:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:08:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:08:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,590 |
CollectionUtil | /*
* Copyright 2017 eagle.jfaster.org.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | .version 52 0
.class public super CollectionUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 26
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:18:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:18:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,591 |
AddDomainReq | /**
* 创建域请求信息。
*
* <p>
*
* @since eSDK Cloud V100R003C30
*/
public class AddDomainReq {
/** 【必选】域名称,由汉字、字母、数字、下划线组成,长度范围是1个~20个字符。 */
private String domainName;
/** 【可选】域描述,由汉字、字母、数字、下划线组成,长度需小于等于128个字符。 */
private String domainDesc;
/** 【可选】父域ID(暂不支持)。 */
private String parentId;
public String g... | .version 52 0
.class public super AddDomainReq
.super java/lang/Object
.field private domainName Ljava/lang/String;
.field private domainDesc Ljava/lang/String;
.field private parentId Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:47:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:47:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,592 |
Point | public class Point {
public double x;
public double y;
public Point(double x1, double y1) {
x = x1;
y = y1;
}
public double distance(Point p1, Point p2) {
return Math.sqrt(Math.pow((p2.x - p1.x), 2) + Math.pow((p2.y - p1.y), 2));
}
}
| .version 52 0
.class public super Point
.super java/lang/Object
.field public x D
.field public y D
.method public <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Point x D
L9: aloa... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:44:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:44:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,593 |
IfTrueTest | public class IfTrueTest {
public static void main(String[] args) {
int x = 0;
if (true) {
x = 8;
} else {
x = 9;
}
}
}
| .version 52 0
.class public super IfTrueTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:14:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:14:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,594 |
VLCGMetaboliteSymbol | /**
* Copyright (c) 2015 Varnerlab, School of Chemical Engineering, Purdue University, West Lafayette
* IN 46077 USA.
*
* <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restricti... | .version 52 0
.class public super VLCGMetaboliteSymbol
.super java/lang/Object
.field private _strSymbol Ljava/lang/String;
.field private _bdlCoeff D
.field private _strLocation Ljava/lang/String;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Ob... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:17:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:17:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,595 |
Solution | // Problem: https://www.hackerrank.com/challenges/queens-attack-2
// Java 8
/*
Initial Thoughts:
We can keep a running closest obstacle
for each direction with relation to
our queen as we read in all the obstacles
then we can just calculate the squares covered
using the distance between two points for each
of the close... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 21
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:36:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:36:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,596 |
TagReadException | /*
* Copyright (c) 2008, 2009, 2010, 2011 Denis Tulskiy
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... | .version 52 0
.class public super TagReadException
.super java/lang/Exception
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Throwable;)V
L5: return
L6:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:19:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:19:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,597 |
HeaderPojo | /**
* Copyright (c) 2015-2017 Inria
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agre... | .version 52 0
.class public super HeaderPojo
.super java/lang/Object
.field private headerMap Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
.end fieldattributes
.method public <init> : (Ljava/util/Map;)V
.code stack 3 locals 2
L0: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:52:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:52:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,598 |
Usuario | public class Usuario {}
| .version 52 0
.class public super Usuario
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:59:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:59:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.