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 |
|---|---|---|---|---|---|
RabinKarpSearch | /** http://www.geeksforgeeks.org/online-algorithm-for-checking-palindrome-in-a-stream/ */
/**
* Date 02-Nov-2017
*
* @author Kushal
*/
public class RabinKarpSearch {
private static final int prime = 131;
public static long calculateHash(char[] str, int len) {
long hash = 0;
for (int i = 0; i < len; i+... | .version 52 0
.class public super RabinKarpSearch
.super java/lang/Object
.field private static final prime I = 131
.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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:44:55 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 09:44:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,600 |
Empty1 | public class Empty1 {}
| .version 52 0
.class public super Empty1
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:45: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
* Sat Jul 02 18:45: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;
... | 132,601 |
Task440 | import java.util.stream.IntStream;
public class Task440 {
public static void main(String[] args) {
System.out.println(new Task440().findKthNumber(13, 2));
System.out.println(new Task440().findKthNumber(4289384, 1922239));
}
public int findKthNumber(int n, int k) {
return IntStream.rangeClosed(1, n)... | .version 52 0
.class public super Task440
.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
* Sun Jul 03 20:37:46 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 20:37: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;
... | 132,602 |
StackTraceElement | import java.util.Set;
import java.util.TreeSet;
/**
* @since 2.0.0
*/
public class StackTraceElement {
private String className;
private String methodName;
private String fileName;
private int lineNumber;
private boolean native_;
private Set<String> tags = new TreeSet<>();
public StackTraceEleme... | .version 52 0
.class public super StackTraceElement
.super java/lang/Object
.field private className Ljava/lang/String;
.field private methodName Ljava/lang/String;
.field private fileName Ljava/lang/String;
.field private lineNumber I
.field private native_ Z
.field private tags Ljava/util/Set; .fieldattribute... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:39:53 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
* Mon Jul 04 15:39: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;
... | 132,603 |
P625ReunionOfTwoSets | import java.util.Arrays;
/**
* Design an algorithm to compute the reunion of two given sets, both of size O(n). The sets are
* given as arrays of elements. The output should be an array of distinct elements that form the
* union of the sets. Worst case running should be O(n * log(n));
*/
public class P625ReunionOf... | .version 52 0
.class public super P625ReunionOfTwoSets
.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 10
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:30: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
* Sat Jul 02 04:30: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;
... | 132,604 |
Client | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
/**
* A crude telnet client that can be used to send SMTP messages and test the responses.
*
* @author Jeff Schnitzer
* @author Jon ... | .version 52 0
.class public super Client
.super java/lang/Object
.field socket Ljava/net/Socket;
.field reader Ljava/io/BufferedReader;
.field writer Ljava/io/PrintWriter;
.method public <init> : (Ljava/lang/String;I)V
.code stack 6 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <i... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:04:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.BufferedReader;
import java.io.StringReader;
import org.evosuite.runtime.EvoRunner;
import org.evosuit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:04: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;
... | 132,605 |
HelloWorld2 | /*BEGIN OCO COPYRIGHT
*************************************************************************
*
* IBM Confidential
* OCO Source Materials
* 5724-L01, 5655-N53, 5724-I82, 5655-R15
* (C) Copyright IBM Corporation 2006.
* The source code for this program is not published or otherwise
* divested of its trade secr... | .version 52 0
.class public super HelloWorld2
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 5362978033127103447L
.field private m_sName Ljava/lang/String;
.field private property Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:41:01 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 23:41: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;
... | 132,606 |
Model | // Copyright 2020 Google LLC
// 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 writing, softw... | .version 52 0
.class public super abstract Model
.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 18
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:43:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
imp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:43: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;
... | 132,607 |
Console | import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Observable;
public final class Console extends Observable {
private static Console mThis = new Console();
public Console() {}
public static Console getInstance() {
return mThis;
}
public static void printMessage(String msg) {
... | .version 52 0
.class public final super Console
.super java/util/Observable
.field private static mThis LConsole;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/util/Observable <init> ()V
L4: return
L5:
.linenumbertable
L0... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:53: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
* Mon Jul 04 15:53: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;
... | 132,608 |
Bits | /*
* Copyright (c) 2018 by Andrew Charneski.
*
* The author licenses this file to you 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
*
* U... | .version 52 0
.class public super Bits
.super java/lang/Object
.implements java/lang/Comparable
.field public static ONE LBits;
.field public static ZERO LBits;
.field public static NULL LBits;
.field public final bitLength I
.field private final bytes [B
.field static final synthetic $assertionsDisabled Z
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:06: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
* Fri Jul 01 19:06: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;
... | 132,609 |
InvalidHardClipCigarException | public class InvalidHardClipCigarException extends Exception {
private static final long serialVersionUID = -285965550263764283L;
public InvalidHardClipCigarException(String string) {
super(string);
}
}
| .version 52 0
.class public super InvalidHardClipCigarException
.super java/lang/Exception
.field private static final serialVersionUID J = -285965550263764283L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Except... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:54:13 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 23:54: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;
... | 132,610 |
PlantLayerChunkThread | public class PlantLayerChunkThread {}
| .version 52 0
.class public super PlantLayerChunkThread
.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
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:40:37 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 16:40:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,611 |
HaAlphaDescriptor | /** Created by lveci on 26/05/2014. */
public class HaAlphaDescriptor {
/* H, A and alpha decision boundaries */
public static final double Alpha1 = 55.0;
public static final double Alpha2 = 50.0;
public static final double Alpha3 = 48.0;
public static final double Alpha4 = 42.0;
public static final double... | .version 52 0
.class public super HaAlphaDescriptor
.super java/lang/Object
.field public static final Alpha1 D = +55.0
.field public static final Alpha2 D = +50.0
.field public static final Alpha3 D = +48.0
.field public static final Alpha4 D = +42.0
.field public static final Alpha5 D = +40.0
.field public st... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:54: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
* Sat Jul 02 17:54: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;
... | 132,612 |
FqnManager | /*
* Copyright (C) 2018. OpenLattice, Inc.
*
* 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 later version.
*
* This program is... | .version 52 0
.class public super FqnManager
.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 25
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:10: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 18:10: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;
... | 132,613 |
SieveOfEratosthenes | import java.util.Scanner;
public class SieveOfEratosthenes {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Find all prime numbers <= n, enter n: ");
int n = input.nextInt();
boolean[] primes = new boolean[n + 1]; // Prime number sieve
// Init... | .version 52 0
.class public super SieveOfEratosthenes
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:15:59 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
* Sat Jul 02 21:15: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;
... | 132,614 |
RhinoStringPool | /*
* Copyright 2021 The Closure Compiler 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 applicable... | .version 52 0
.class public final super RhinoStringPool
.super java/lang/Object
.method public static uncheckedEquals : (Ljava/lang/String;Ljava/lang/String;)Z
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: if_acmpne L9
L5: iconst_1
L6: goto L10
.stack same
L9: icons... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:46: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
* Sat Jul 02 18:46: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;
... | 132,615 |
StringToInt | /**
* Simple component which converts String to Int
*
* @author ToivoAdams
*/
public class StringToInt {
public int number(String str) {
return Integer.parseInt(str);
}
}
| .version 52 0
.class public super StringToInt
.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
* Mon Jul 04 05:32: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 05:32: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;
... | 132,616 |
TaskSchedulerException | public class TaskSchedulerException extends Exception {
public TaskSchedulerException(Exception innerException) {
super(innerException);
}
}
| .version 52 0
.class public super TaskSchedulerException
.super java/lang/Exception
.method public <init> : (Ljava/lang/Exception;)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:
.line... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:09:19 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.MockException;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:09:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,617 |
Auth | /** 验证信息 */
public class Auth {
String username;
String password;
public Auth() {}
public Auth(String username, String password) {
this.username = username;
this.password = password;
}
public String getUsername() {
return username;
}
public String getPassword() {
return password;
}... | .version 52 0
.class public super Auth
.super java/lang/Object
.field username Ljava/lang/String;
.field password 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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:24:02 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:24:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,618 |
Wicket | /*
* Copyright (c) 2003, 2020, 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 super Wicket
.super java/lang/Object
.field private count I
.field private waiters I
.field private debugOutput Ljava/io/PrintStream;
.field private name Ljava/lang/String;
.field private final lock Ljava/util/concurrent/locks/Lock;
.field private final condition Ljava/util/concurren... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:59:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import org.evosuite.runtime.EvoRunner;
import org.e... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:59:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,619 |
SELib | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* @author Mahzel
*/
public class SELib {
/**
* @param input
* @return
*/
public static String getMD5(String input) ... | .version 52 0
.class public super SELib
.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 14
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:16: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
* Fri Jul 01 08:16: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;
... | 132,620 |
Wiql | // @formatter:off
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* Licensed under the MIT license. See License.txt in the project root.
* ---------------------------------------------------------
*
* ---------------------------------------... | .version 52 0
.class public super Wiql
.super java/lang/Object
.field private query 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 21
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:29:13 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:29: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;
... | 132,621 |
SortingAlgorithms | public class SortingAlgorithms {
private long trocas = 0;
private long comparacoes = 0;
private int[] arr = {15, 12, 2, 11, 10, 5, 7, 8, 1, 6, 9, 14, 4, 13, 3};
// Potencia para definir tamanho do array (2^n), use 0 para debug.
private int potencia = 14;
public SortingAlgorithms() {
int sz = (int) Mat... | .version 52 0
.class public super SortingAlgorithms
.super java/lang/Object
.field private trocas J
.field private comparacoes J
.field private arr [I
.field private potencia I
.method public <init> : ()V
.code stack 6 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:15:46 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 17:15: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;
... | 132,622 |
ServiceException | public class ServiceException extends Exception {
private String code;
public ServiceException() {
super("业务异常,请重试");
}
public ServiceException(String message) {
super(message);
}
public ServiceException(String code, String message) {
this(message);
this.setCode(code);
}
public Servi... | .version 52 0
.class public super ServiceException
.super java/lang/Exception
.field private code Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc '业务异常,请重试'
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L6: return
L7: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:09: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 00:09: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;
... | 132,623 |
Utilities | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
/** Created by student on 23.05.2017. */
public class Utilities {
public static BufferedReader getReader(Socket socket) throws IOException {
return new BufferedReader(... | .version 52 0
.class public super Utilities
.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 13
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:50:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.BufferedReader;
import java.io.PrintWriter;
import java.net.InetAddress;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParam... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01: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;
... | 132,624 |
NoTransitionException | /*
Copyright DTCC 2016 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 applicable law or agreed to in wr... | .version 52 0
.class public super NoTransitionException
.super java/lang/Exception
.field public final error Ljava/lang/Exception;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: aconst_null
L2: invokespecial Method NoTransitionException <init> (Ljava/lang/Exception;)V
L5: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:25:14 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.MockException;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:25: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;
... | 132,625 |
RoleEntity | /**
* POJO RoleEntity
*
* @author Dmitry V
* @version 1.0
*/
public class RoleEntity {
private int id;
private String name;
public RoleEntity() {}
public RoleEntity(int id, String name) {
this.id = id;
this.name = name;
}
public int getId() {
return id;
}
public void setId(int id) ... | .version 52 0
.class public super RoleEntity
.super java/lang/Object
.field private id I
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:08:42 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:08:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,626 |
UnsupportedClassVersionException | /*
* 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 Software Foundation. Oracle designates this
* particular file as subject to th... | .version 52 0
.class public super UnsupportedClassVersionException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -3502347765891805831L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:09: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 08:09: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;
... | 132,627 |
Resource | public class Resource {
public static final int Height = 65;
public static final int Width = 375;
}
| .version 52 0
.class public super Resource
.super java/lang/Object
.field public static final Height I = 65
.field public static final Width I = 375
.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
* Sat Jul 02 13:23: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
* Sat Jul 02 13:23: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;
... | 132,628 |
isContinuous | import java.util.Arrays;
/**
* 从扑克牌中随机抽5张牌,判断是不是一个顺子,即这5张牌是不是连续的,2-10为数字本身, A为1,J为11,Q为12,K为13而大小王可以看成任意数字
*
* @author dell
*/
public class isContinuous {
public static boolean continuous(int[] numbers) {
int numOfZero = 0;
int numOfInterval = 0;
int length = numbers.length;
if (length == 0) {
... | .version 52 0
.class public super isContinuous
.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 11
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:48: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
* Fri Jul 01 13:48: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;
... | 132,629 |
Coordinates | /**
* This file is part of L'Algorithme de la Guerre.
*
* <p>L'Algorithme de la Guerre 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 versio... | .version 52 0
.class public super Coordinates
.super java/lang/Object
.field private x I
.field private y 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 Coordinates x I... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:39: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
* Sun Jul 03 20:39: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;
... | 132,630 |
Isin | import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
public class Isin {
private static final String CHARACTERS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; // $NON-NLS-1$
@SuppressWarnings("nls")
private static final Set<String> INVALID_CODES =
new HashSet<>(
Arrays.asList("DU"... | .version 52 0
.class public super Isin
.super java/lang/Object
.field private static final CHARACTERS Ljava/lang/String; = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
.field private static final INVALID_CODES Ljava/util/Set; .fieldattributes
.signature Ljava/util/Set<Ljava/lang/String;>;
.end fieldattributes
.fie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12: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 12: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;
... | 132,631 |
PreferenceRetrievalClientException | /*
* Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... | .version 52 0
.class public super PreferenceRetrievalClientException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:42:13 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:42: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;
... | 132,632 |
SleepEx | class SleepEx extends Thread {
public void run() {
for (int i = 1; i < 5; i++) {
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
e.printStackTrace();
}
System.out.println(i);
}
}
public static void main(String args[]) {
SleepEx t1 = new SleepEx();
... | .version 52 0
.class super SleepEx
.super java/lang/Thread
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Thread <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end method
.met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:21: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:21: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;
... | 132,633 |
OharaForLoopsPractice | /* Copyright (C) 2014-2015 Zach Ohara
*
* 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 later version.
*
* This program is distr... | .version 52 0
.class public super OharaForLoopsPractice
.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 74
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:14: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
* Fri Jul 01 16:14: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;
... | 132,634 |
Single | abstract class Single {
abstract String name();
abstract boolean valid();
}
| .version 52 0
.class super abstract Single
.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 3
.end linenumbertable
.end code
.end metho... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:51: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
* Fri Jul 01 08:51:09 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... | 132,635 |
LevenshteinArray | /**
* LevenshteinArray implements the Levenshtein algorithm to calculate the edit distance between two
* words.
*
* @author SManicon <sebastien.manicon@soat.fr>
* @version 1.0
*/
public class LevenshteinArray {
private int[][] array;
private int width, height;
/**
* Build a new LevenshteinArray object, ... | .version 52 0
.class public super LevenshteinArray
.super java/lang/Object
.field private array [[I
.field private width I
.field private height I
.method public <init> : (II)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:27:16 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 22:27: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;
... | 132,636 |
LwuTranslator | /*
Copyright 2011-2016 Google 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 applicable law or agreed t... | .version 52 0
.class public super LwuTranslator
.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 18
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:17:01 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:17: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;
... | 132,637 |
NoSuchScheduleException | /*
* Copyright 2018 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | .version 52 0
.class public super NoSuchScheduleException
.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 20:21: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 20:21: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;
... | 132,638 |
ConfigProvider | import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.text.SimpleDateFormat;
import java.util.Date;
public class ConfigProvider {
public static final String MAIN_DIR = "C:\\DATA\\etf_evolution\\";
public static final String DIR;
public static final String DATE_STR;
static {
... | .version 52 0
.class public super ConfigProvider
.super java/lang/Object
.field public static final MAIN_DIR Ljava/lang/String; = 'C:\\DATA\\etf_evolution\\'
.field public static final DIR Ljava/lang/String;
.field public static final DATE_STR Ljava/lang/String;
.method public <init> : ()V
.code stack 1 loc... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:59:44 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 10:59: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;
... | 132,639 |
InvalidConfigurationException | public class InvalidConfigurationException extends Exception {
public static InvalidConfigurationException missingProperty(final String propertyKey) {
return new InvalidConfigurationException("Property " + propertyKey + " is missing.");
}
public InvalidConfigurationException(final String message) {
supe... | .version 52 0
.class public super InvalidConfigurationException
.super java/lang/Exception
.method public static missingProperty : (Ljava/lang/String;)LInvalidConfigurationException;
.code stack 4 locals 1
L0: new InvalidConfigurationException
L3: dup
L4: new java/lang/StringBuilder
L7: dup... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:50: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 10:50: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;
... | 132,640 |
Constants | /**
* Copyright 2011-2021 Asakusa Framework Team.
*
* <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 applicab... | .version 52 0
.class public final super Constants
.super java/lang/Object
.field public static final VERSION Ljava/lang/String; = '0.3.0'
.field public static final OUTPUT_ENCODING Ljava/nio/charset/Charset;
.field public static final SOURCE_TABLE Ljava/lang/String; = 'table'
.field public static final SOURCE_VIE... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:24: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
* Sat Jul 02 04:24:50 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... | 132,641 |
SubstitutionId | /*
* Copyright 1997-2011 teatrove.org
*
* 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 o... | .version 52 0
.class public super SubstitutionId
.super java/lang/ref/WeakReference
.field private final mBlockId I
.method public <init> : (Ljava/lang/Object;I)V
.code stack 2 locals 3
L0: aload_0
L1: aload_1
L2: invokevirtual Method java/lang/Object getClass ()Ljava/lang/Class;
L5: invok... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:51:24 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:51: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;
... | 132,642 |
Properties | /*
* Copyright 2005-2006 Sun Microsystems, Inc. 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 Software Fou... | .version 52 0
.class public super Properties
.super java/lang/Object
.field public static final LEXICAL_HANDLER_PROPERTY Ljava/lang/String; = 'http://xml.org/sax/properties/lexical-handler'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:27:37 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:27:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,643 |
PositionException | /**
* Copyright (c) 2011, 2014 Eurotech and/or its affiliates
*
* <p>All rights reserved. This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* <p... | .version 52 0
.class public super PositionException
.super java/lang/Exception
.field private static final serialVersionUID J = 2611760893640245224L
.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 20:25: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
* Fri Jul 01 20:25: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;
... | 132,644 |
LegacyUserDepartment | public class LegacyUserDepartment {
private Integer userId;
private Integer departmentId;
public LegacyUserDepartment() {}
public LegacyUserDepartment(Integer userId, Integer departmentId) {
this.userId = userId;
this.departmentId = departmentId;
}
public Integer getUserId() {
return userId;
... | .version 52 0
.class public super LegacyUserDepartment
.super java/lang/Object
.field private userId Ljava/lang/Integer;
.field private departmentId Ljava/lang/Integer;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: retur... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:48: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
* Fri Jul 01 03:48: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;
... | 132,645 |
RecordItem | public class RecordItem implements Comparable<RecordItem> {
public String no;
public String shortname;
public String filesize;
public String filetime;
public String filename;
public long time;
@Override
public int compareTo(RecordItem item) {
return Long.valueOf(item.time - time).intValue();
}
}
| .version 52 0
.class public super RecordItem
.super java/lang/Object
.implements java/lang/Comparable
.field public no Ljava/lang/String;
.field public shortname Ljava/lang/String;
.field public filesize Ljava/lang/String;
.field public filetime Ljava/lang/String;
.field public filename Ljava/lang/String;
.fie... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:04: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
* Fri Jul 01 06: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;
... | 132,646 |
Sets | /**
* Copyright (C) 2007 Google Inc.
*
* <p>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; either version
* 2.1 of the License, or (at your option) any later version.
*
* <p>This libr... | .version 52 0
.class public super Sets
.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 31
L4 32
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:16:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Locale;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:16: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;
... | 132,647 |
Constants | public class Constants {
public static final String NEW_ITEMS_INTENT = "com.example.testwidget.NEW_ITEMS";
public static final String SHIFT_MODE_INTENT = "com.example.testwidget.SHIFT_MODE";
public static final String TEXT_INTENT = "com.example.testwidget.TEXT";
public static final String COMPONENT_LAUNCH_INTEN... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final NEW_ITEMS_INTENT Ljava/lang/String; = 'com.example.testwidget.NEW_ITEMS'
.field public static final SHIFT_MODE_INTENT Ljava/lang/String; = 'com.example.testwidget.SHIFT_MODE'
.field public static final TEXT_INTENT Ljava/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:33: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
* Fri Jul 01 16:33: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;
... | 132,648 |
StiTrendLinePropertyOrder | /*
* Decompiled with CFR 0_114.
*/
public class StiTrendLinePropertyOrder {
public static final int LineColor = 90;
public static final int LineStyle = 100;
public static final int LineWidth = 110;
public static final int ShowShadow = 120;
}
| .version 52 0
.class public super StiTrendLinePropertyOrder
.super java/lang/Object
.field public static final LineColor I = 90
.field public static final LineStyle I = 100
.field public static final LineWidth I = 110
.field public static final ShowShadow I = 120
.method public <init> : ()V
.code stack 1 l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:06: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
* Sat Jul 02 16:06: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;
... | 132,649 |
PrintException | /* PrintException.java --
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 2, or (at your opti... | .version 52 0
.class public super PrintException
.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 51
L4 52
.end lin... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:49:08 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 21:49:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,650 |
Nine | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Nine {
public static void main(String[] args) {
char[] nine = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'};
List<String> tiles = new ArrayList<String>();
for (char c : nine) {
tiles.add(String.valueOf(c... | .version 52 0
.class public super Nine
.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 7
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:05:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:05: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;
... | 132,651 |
CursorsExistException | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002,2008 Oracle. All rights reserved.
*
* $Id: CursorsExistException.java,v 1.6.2.3 2008/01/07 15:14:16 cwl Exp $
*/
/**
* Error to indicate that a bottom level BIN has cursors on it during a delete subtree operation.
*/
public clas... | .version 52 0
.class public super CursorsExistException
.super java/lang/Exception
.field public static final CURSORS_EXIST LCursorsExistException;
.method private <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
* Sun Jul 03 20:32: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
* Sun Jul 03 20:32:36 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... | 132,652 |
Document | import java.util.Date;
/**
* A document resource.
*
* <p>Created on 2015/08/03.
*/
public class Document {
private String reference;
private boolean timestamped;
private Date timestamp;
private Date dateCreated;
private String binaryContent;
public String getReference() {
return reference;
}
... | .version 52 0
.class public super Document
.super java/lang/Object
.field private reference Ljava/lang/String;
.field private timestamped Z
.field private timestamp Ljava/util/Date;
.field private dateCreated Ljava/util/Date;
.field private binaryContent Ljava/lang/String;
.method public <init> : ()V
.cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:07:18 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.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:07: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;
... | 132,653 |
Defaults | public class Defaults {
public static final String VERSION = "v1";
public static final String SERVER_URL = "https://api.backendless.com";
}
| .version 52 0
.class public super Defaults
.super java/lang/Object
.field public static final VERSION Ljava/lang/String; = 'v1'
.field public static final SERVER_URL Ljava/lang/String; = 'https://api.backendless.com'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial M... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:01:19 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:01:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,654 |
SARLVersion | /*
* $Id$
*
* SARL is an general-purpose agent programming language.
* More details on http://www.sarl.io
*
* Copyright (C) 2014-2016 the original authors 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 ma... | .version 52 0
.class public final super SARLVersion
.super java/lang/Object
.field public static final SPECIFICATION_RELEASE_VERSION F = +0.4000000059604645f
.field public static final SPECIFICATION_RELEASE_VERSION_STRING Ljava/lang/String; = '0.4'
.field public static final SARL_RELEASE_VERSION Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:25: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
* Fri Jul 01 12:25:44 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... | 132,655 |
Profession | /**
* Realization of professions.
*
* @author Artem Bartenev (bartenev92@gmail.com)
* @version $Id$
* @since 11.09.2017
*/
public class Profession {
/** Name of profession. */
private String name;
/** type of profession. */
private String type;
/** age of employer. */
private int age;
/** Construct... | .version 52 0
.class public super Profession
.super java/lang/Object
.field private name Ljava/lang/String;
.field private type Ljava/lang/String;
.field private age I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: retur... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:36: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
* Fri Jul 01 16:36: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;
... | 132,656 |
ContainsDuplicate | import java.util.HashMap;
/** Created by fulin on 16-12-9. */
public class ContainsDuplicate {
public static void main(String[] args) {
int[] nums = {3, 3};
boolean result = containsDuplicate(nums);
}
public static boolean containsDuplicate(int[] nums) {
if (nums == null || nums.length == 0) {
... | .version 52 0
.class public super ContainsDuplicate
.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 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:34: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 09:34: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;
... | 132,657 |
SoftReferenceQueueMain | import java.lang.ref.ReferenceQueue;
import java.lang.ref.SoftReference;
import java.util.HashMap;
import java.util.Map;
public class SoftReferenceQueueMain {
public static void main(String[] args) throws InterruptedException {
Object object = new Object();
ReferenceQueue<Object> notCleanedQueue = new Refer... | .version 52 0
.class public super SoftReferenceQueueMain
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:17: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
* Sat Jul 02 06:17: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;
... | 132,658 |
IdGenerator | import java.util.UUID;
public class IdGenerator {
public static String createStringId() {
final UUID uuid = java.util.UUID.randomUUID();
return uuid.toString();
}
public static Long createLongId() {
return UUID.randomUUID().getMostSignificantBits() & Long.MAX_VALUE;
}
}
| .version 52 0
.class public super IdGenerator
.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
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:08: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
* Sun Jul 03 21:08: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;
... | 132,659 |
ImmutableSortedMap | /*******************************************************************************
*
* "FreePastry" Peer-to-Peer Application Development Substrate
*
* Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute
* for Software Systems. All rights reserved.
*
* Redistribution and use in source a... | .version 52 0
.class public super ImmutableSortedMap
.super java/lang/Object
.implements java/util/SortedMap
.implements java/io/Serializable
.field protected map Ljava/util/SortedMap;
.method public <init> : (Ljava/util/SortedMap;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:45:57 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.util.Collection;
import java.util.Comparator;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:45:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,660 |
SohuMuyingNewsTags | /** Created by Administrator on 2017/9/11. */
public class SohuMuyingNewsTags {
private String id;
private String name;
private String channelId;
private String channelName;
private String categoryId;
private String categoryName;
private String config;
private String introduction;
private String hotSp... | .version 52 0
.class public super SohuMuyingNewsTags
.super java/lang/Object
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private channelId Ljava/lang/String;
.field private channelName Ljava/lang/String;
.field private categoryId Ljava/lang/String;
.field private categoryN... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:11: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 21:11: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;
... | 132,661 |
Prime | import java.util.ArrayList;
import java.util.List;
public class Prime {
private final List<Integer> primes = new ArrayList<>();
public Prime() {}
public void show(int limit) {
for (int i = 0; i < limit; i++) {
if (isPrime(i)) {
System.out.println(i);
}
}
}
public boolean isPr... | .version 52 0
.class public super Prime
.super java/lang/Object
.field private final primes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:48:16 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 05:48: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;
... | 132,662 |
Day01 | /**
* 在给定的二维数组中,从左往右,从上往下值依次变大。然后给定一个数值,判断是否保函在此数组中。
*
* @author kexun
*/
public class Day01 {
private static int[][] array = {
{1, 2, 8, 9},
{2, 4, 9, 12},
{4, 7, 10, 13},
{6, 8, 11, 15}
};
private static boolean contains(int key, int[][] array) {
int x = 0;
int y = array[0].length... | .version 52 0
.class public super Day01
.super java/lang/Object
.field private static array [[I
.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 linen... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:43: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 05:43: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;
... | 132,663 |
GoogleImageSearchResult | public class GoogleImageSearchResult {
private String url;
private String tbUrl;
public GoogleImageSearchResult(String url, String tbUrl) {
this.url = url;
this.tbUrl = tbUrl;
}
public String getTbUrl() {
return tbUrl;
}
public void setTbUrl(String tbUrl) {
this.tbUrl = tbUrl;
}
p... | .version 52 0
.class public super GoogleImageSearchResult
.super java/lang/Object
.field private url Ljava/lang/String;
.field private tbUrl 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/lang/Objec... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:06: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
* Fri Jul 01 05:06: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;
... | 132,664 |
TradeScale | /**
* TODO: This is a prime candidate for generic parameters extending the number type.
*
* <p>Created by Osmund on 2016-12-08.
*/
public class TradeScale {
public final double materialBase;
public final double currencyBase;
public TradeScale(double materialBase, double currencyBase) {
this.materialBase... | .version 52 0
.class public super TradeScale
.super java/lang/Object
.field public final materialBase D
.field public final currencyBase 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: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:31:14 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:31: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;
... | 132,665 |
ModelAndView | import java.util.HashMap;
import java.util.Map;
public class ModelAndView {
public HashMap<String, Object> mapcontent = new HashMap<String, Object>();
public String viewPath = null;
public String templateType = null;
public Map getMapContent() {
return mapcontent;
}
public void addAttrible(String a... | .version 52 0
.class public super ModelAndView
.super java/lang/Object
.field public mapcontent Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.field public viewPath Ljava/lang/String;
.field public templateType Ljava/lang/String... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:35:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Map;
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
* Sat Jul 02 05:35: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;
... | 132,666 |
GuiButton | /** Created by Biw on 4/12/2557. */
public class GuiButton {}
| .version 52 0
.class public super GuiButton
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:10:21 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:10:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,667 |
BadRestRequestException | /**
* This is {@link BadRestRequestException}.
*
* @author Misagh Moayyed
* @since 5.0.0
*/
public class BadRestRequestException extends IllegalArgumentException {
private static final long serialVersionUID = 6852720596988243487L;
/**
* Ctor.
*
* @param msg error message
*/
public BadRestRequest... | .version 52 0
.class public super BadRestRequestException
.super java/lang/IllegalArgumentException
.field private static final serialVersionUID J = 6852720596988243487L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:21: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
* Mon Jul 04 05:21: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;
... | 132,668 |
Util | /*
* Copyright (C) 2015 Square, Inc.
*
* 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... | .version 52 0
.class final super Util
.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 32
L4 33
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:40:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import jav... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:40: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;
... | 132,669 |
Product | import java.io.Serializable;
import java.util.Objects;
public class Product implements Serializable {
private static final long serialVersionUID = 1L;
private final int id;
private final String name;
public Product(int id, String name) {
this.id = id;
this.name = name;
}
public final int getId(... | .version 52 0
.class public super Product
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private final id I
.field private final name Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:24: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 17:24: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;
... | 132,670 |
Time | /**
* Copyright 2016 LinkedIn Corp. All rights reserved.
*
* <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 a... | .version 52 0
.class public super abstract Time
.super java/lang/Object
.field public static final NsPerUs I = 1000
.field public static final UsPerMs I = 1000
.field public static final MsPerSec I = 1000
.field public static final NsPerMs I = 1000000
.field public static final NsPerSec I = 1000000000
.field pu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:01:30 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 13:01:30 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... | 132,671 |
FilterItem | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.LinkedList;
/**
* @author Guilherme Alan Ritter
*/
public final class FilterItem {
public final String c;
public final String d;
public final String f;
public static final LinkedList<FilterItem> ... | .version 52 0
.class public final super FilterItem
.super java/lang/Object
.field public final c Ljava/lang/String;
.field public final d Ljava/lang/String;
.field public final f Ljava/lang/String;
.field public static final filterItemList Ljava/util/LinkedList; .fieldattributes
.signature Ljava/util/LinkedL... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:20:54 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 20:20: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;
... | 132,672 |
IntentContract | /** Created by thiebaudthomas on 06/01/16. */
public final class IntentContract {
private IntentContract() {}
public static final String JOKE = "JOKE";
}
| .version 52 0
.class public final super IntentContract
.super java/lang/Object
.field public static final JOKE Ljava/lang/String; = 'JOKE'
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbe... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:43:57 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 09:43:58 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... | 132,673 |
Observation | /**
* @author Marco Biagi
*/
public class Observation {
private String value;
public Observation(String value) {
this.value = value;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
| .version 52 0
.class public super Observation
.super java/lang/Object
.field private value Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Fiel... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:05:32 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 18:05: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;
... | 132,674 |
Primes | public class Primes {
public static boolean isPrime(int n) {
for (int i = 2; i < n; i++) {
if (n % i == 0) {
return false;
}
}
return true;
}
public static boolean isPrimeWhile(int n) {
int i = 2;
while (i < n && n % i != 0) {
i++;
}
return i == n;
}
pu... | .version 52 0
.class public super Primes
.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 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:10: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 15:10: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;
... | 132,675 |
InputPackageAnnotation2 | @Deprecated
public class InputPackageAnnotation2 {}
| .version 52 0
.class public super InputPackageAnnotation2
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:36:24 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:36: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;
... | 132,676 |
GetThreadState | public class GetThreadState implements Runnable {
public void run() {
System.out.println("Start..");
}
public static void main(String[] args) {
Thread thread = new Thread(new GetThreadState());
thread.start();
// Get the state of the thread.
Thread.State state = thread.getState();
System... | .version 52 0
.class public super GetThreadState
.super java/lang/Object
.implements java/lang/Runnable
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:52: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 19:52: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;
... | 132,677 |
SolverParams | /*
* Copyright (C) 2015 Universitat Pompeu Fabra
*
* 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 later version.
*
* This prog... | .version 52 0
.class public super SolverParams
.super java/lang/Object
.field private final eps D
.field private final c D
.method public <init> : (Ljava/lang/Double;Ljava/lang/Double;)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:32: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
* Sat Jul 02 08:32: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;
... | 132,678 |
App | import java.io.Serializable;
/**
* 应用类
*
* @author qyb
*/
@SuppressWarnings("serial")
public class App implements Serializable {
private int apid; // 应用编号
private String apname; // 应用名称
private String appath; // 图片路径
private String decrible; // 应用描述
private int status; // 状态
public int getApid() {
... | .version 52 0
.class public super App
.super java/lang/Object
.implements java/io/Serializable
.field private apid I
.field private apname Ljava/lang/String;
.field private appath Ljava/lang/String;
.field private decrible Ljava/lang/String;
.field private status I
.method public getApid : ()I
.code stac... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:59: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
* Sat Jul 02 09:59: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;
... | 132,679 |
GlobalConstant | public class GlobalConstant {
public static final String SERVER_URL = "http://ooq0qbwml.bkt.clouddn.com/csuft76y"; // 服务器主域名
public static final String CATEGARY_URL = SERVER_URL + "/categories.json"; // 分类信息接口
public static final String PHOTOS_URL = SERVER_URL + "/photos/photos_1.json"; // 组图信息接口
}
| .version 52 0
.class public super GlobalConstant
.super java/lang/Object
.field public static final SERVER_URL Ljava/lang/String; = 'http://ooq0qbwml.bkt.clouddn.com/csuft76y'
.field public static final CATEGARY_URL Ljava/lang/String; = 'http://ooq0qbwml.bkt.clouddn.com/csuft76y/categories.json'
.field public stat... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:58:18 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 09:58: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;
... | 132,680 |
QuickSort | import java.util.Arrays;
public class QuickSort {
public QuickSort(int[] array) {
quickSort(array, 0, array.length - 1);
System.out.println(Arrays.toString(array));
}
void swap(int[] a, int min, int curr_min) {
int temp;
temp = a[min];
a[min] = a[curr_min];
a[curr_min] = temp;
}
//... | .version 52 0
.class public super QuickSort
.super java/lang/Object
.method public <init> : ([I)V
.code stack 5 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: iconst_0
L7: aload_1
L8: arraylength
L9: iconst_1
L10: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:23:13 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 05:23: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;
... | 132,681 |
EventTester1 | // This example is from _Java Examples in a Nutshell_. (http://www.oreilly.com)
// Copyright (c) 1997 by David Flanagan
// This example is provided WITHOUT ANY WARRANTY either expressed or implied.
// You may study, use, modify, and distribute it for non-commercial purposes.
// For any commercial use, see http://www.da... | .version 52 0
.class public super EventTester1
.super java/applet/Applet
.field protected lines Ljava/util/Vector;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/applet/Applet <init> ()V
L4: aload_0
L5: new java/util/Vector
L8: dup
L9: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:55:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:55:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,682 |
ApiUtils | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | .version 52 0
.class public final super ApiUtils
.super java/lang/Object
.field private static final MILLISECOND_VALIDATION_FAIL_MSG_FRMT Ljava/lang/String; = 'Invalid value for parameter "%s" (value was: %s). '
.field private static final VALIDATE_MILLISECOND_NULL_SUFFIX Ljava/lang/String; = "It shouldn't be null.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:27:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.Duration;
import java.time.Instant;
import java.time.temporal.ChronoUnit;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:27: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;
... | 132,683 |
LiczbaRzymska | /** Created by Hunter on 2015-06-10. */
public class LiczbaRzymska {
private int liczba;
public LiczbaRzymska(int liczba) {
this.liczba = liczba;
}
public static String ToRom(int arabska) {
String roman = "";
if (arabska < 1 || arabska > 3999) {
return "Insert Integer between 1 and 9999";
... | .version 52 0
.class public super LiczbaRzymska
.super java/lang/Object
.field private liczba 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 LiczbaRzymska liczba I
L9: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:17:33 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 22:17: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;
... | 132,684 |
PlusMinus | /*
* 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.
*/
import java.util.Scanner;
/**
* @author samas
*/
public class PlusMinus {
/**
* @param args the command line arguments
*/
... | .version 52 0
.class public super PlusMinus
.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 14
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:03:32 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
* Fri Jul 01 12:03: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;
... | 132,685 |
ParkrunPredict | public class ParkrunPredict {
private Integer courseId;
private Integer mmInt = 0;
private Integer ssInt = 0;
private String mm;
private String ss;
public Integer getCourseId() {
return courseId;
}
public void setCourseId(Integer courseId) {
this.courseId = courseId;
}
public Integer... | .version 52 0
.class public super ParkrunPredict
.super java/lang/Object
.field private courseId Ljava/lang/Integer;
.field private mmInt Ljava/lang/Integer;
.field private ssInt Ljava/lang/Integer;
.field private mm Ljava/lang/String;
.field private ss Ljava/lang/String;
.method public <init> : ()V
.code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:09:02 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:09: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;
... | 132,686 |
Main | /** Created by TDzhahangirov on 19.03.2017. */
public class Main {
public static void main(String[] args) {}
}
| .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 4
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:36: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
* Mon Jul 04 05:36: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;
... | 132,687 |
ReportParameter | /*
Query2Report Copyright (C) 2018 Yogesh Deshpande
This file is part of Query2Report.
Query2Report 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... | .version 52 0
.class public super ReportParameter
.super java/lang/Object
.field private name Ljava/lang/String;
.field private value Ljava/lang/String;
.field private dataType Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Obje... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:03: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
* Sat Jul 02 15:03: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;
... | 132,688 |
PageLoaderHelper | /** Created by ruli on 7/21/15. */
public final class PageLoaderHelper {
private static final String ANT_STRING_TO_REPLACE_IN_REG_EXP = "([\\\\s\\\\S]*)";
public static final String ANY_STRING = "([\\s\\S]*)";
public static final String HYPER_REFERENCE_ATTRIBUTE_TAG = "href";
public static final String HTML_L... | .version 52 0
.class public final super PageLoaderHelper
.super java/lang/Object
.field private static final ANT_STRING_TO_REPLACE_IN_REG_EXP Ljava/lang/String; = '([\\\\s\\\\S]*)'
.field public static final ANY_STRING Ljava/lang/String; = '([\\s\\S]*)'
.field public static final HYPER_REFERENCE_ATTRIBUTE_TAG Ljav... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:31: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
* Sun Jul 03 21:31: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;
... | 132,689 |
User | /**
* User class.
*
* @author Kuzmin Danila (mailto:bus1d0@mail.ru)
* @version $Id$
* @since 0.1.3
*/
public class User {
/** id - identificator. */
private int id;
/** name - name. */
private String name;
/** city - city. */
private String city;
/**
* Constructor.
*
* @param id - id.
*... | .version 52 0
.class public super User
.super java/lang/Object
.field private id I
.field private name Ljava/lang/String;
.field private city Ljava/lang/String;
.method <init> : (ILjava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <i... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:48: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
* Sat Jul 02 15:48: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;
... | 132,690 |
MetadataObject | // Copyright 2016 Yahoo Inc.
// Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this
// work for terms.
import java.util.LinkedHashMap;
import java.util.Map;
/** Interface for transforming logical tables into views. */
public class MetadataObject extends LinkedHashMap<Strin... | .version 52 0
.class public super MetadataObject
.super java/util/LinkedHashMap
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/util/LinkedHashMap <init> ()V
L4: return
L5:
.linenumbertable
L0 17
L4 18
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:17: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
* Sat Jul 02 10:17: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;
... | 132,691 |
OptionalUtil | import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class OptionalUtil {
public static <T> List<T> toList(Optional<T> value) {
if (value.isPresent()) {
return Collections.singletonList(value.get());
... | .version 52 0
.class public super OptionalUtil
.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
* Fri Jul 01 10:47:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.lang.reflect.Array;
import java.util.List;
import java.util.Optional;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:47: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;
... | 132,692 |
UidUtils | import java.util.UUID;
public class UidUtils {
public static String UID() {
return UUID.randomUUID().toString();
}
}
| .version 52 0
.class public super UidUtils
.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 23:24:01 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:24: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;
... | 132,693 |
CheckForAPlayCard | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class CheckForAPlayCard {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String a = reader.readLine();
switch (a... | .version 52 0
.class public super CheckForAPlayCard
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:52:16 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.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:52: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;
... | 132,694 |
Test | public class Test {
public static void main(String[] args) {
double test = 3.12345678901234567890;
System.out.println(test);
System.out.println(34.81 / 8.0);
}
}
| .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 1
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:09:39 GMT 2022
*/
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism =... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:09: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;
... | 132,695 |
BranchingCallsExample | /*
* Copyright (c) 2016 - present Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
public cla... | .version 52 0
.class public super BranchingCallsExample
.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 12
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:30:46 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 02:30: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;
... | 132,696 |
CollectionUtils | import java.util.Collection;
/** 集合操作工具类 */
public class CollectionUtils {
/**
* 判断集合是否为null或者0个元素
*
* @param c
* @return
*/
public static boolean isNullOrEmpty(Collection c) {
if (null == c || c.isEmpty()) {
return true;
}
return false;
}
}
| .version 52 0
.class public super CollectionUtils
.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 02:28:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:28:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,697 |
NullOutputStream | import java.io.OutputStream;
/**
* @author MyJojoX
* @version 1.0
*/
public class NullOutputStream extends OutputStream {
@Override
public void write(int b) {}
@Override
public void write(byte[] b, int off, int len) {}
@Override
public void close() {}
@Override
public void flush() {}
@Overrid... | .version 52 0
.class public super NullOutputStream
.super java/io/OutputStream
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/io/OutputStream <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:44: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
* Sat Jul 02 15:44: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;
... | 132,698 |
prop | import java.io.*;
public class prop {
public static void main(String[] argv) throws IOException {
System.getProperties().store(System.out, "all properties:");
}
}
| .version 52 0
.class public super prop
.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
* Mon Jul 04 06:16: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
* Mon Jul 04 06:16: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;
... | 132,699 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.