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 |
|---|---|---|---|---|---|
DirectorySizeJava8 | import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
/** Created by umesh on 6/5/17. */
public class DirectorySizeJava8 {
public static void main(String[] args) throws IOException {
Path rootDirectory = Paths.get("/Users/umesh/personal/tutorials/source/... | .version 52 0
.class public super DirectorySizeJava8
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:47:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.file.NoSuchFileException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:47:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,800 |
MyClassLoad | import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
public class MyClassLoad extends ClassLoader {
private String name;
private String path = "E:\\src";
public MyClassLoad(String name) {
this.name = na... | .version 52 0
.class public super MyClassLoad
.super java/lang/ClassLoader
.field private name Ljava/lang/String;
.field private path Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/ClassLoader <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:38:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:38: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;
... | 148,801 |
MyBean | import java.text.SimpleDateFormat;
import java.util.Date;
public class MyBean {
public void printMessage() {
// 打印当前的执行时间,格式为2017-01-01 00:00:00
Date date = new Date();
SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
System.out.println("MyBean Executes " + sf.format(date));
Sy... | .version 52 0
.class public super MyBean
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:13:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:13: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;
... | 148,802 |
MD5Checksum | import java.io.*;
import java.security.MessageDigest;
// http://stackoverflow.com/a/304275/4143925
public class MD5Checksum {
public static byte[] createChecksum(String filename) throws Exception {
InputStream fis = new FileInputStream(filename);
byte[] buffer = new byte[1024];
MessageDigest complete =... | .version 52 0
.class public super MD5Checksum
.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
* Mon Jul 04 16:37:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:37: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;
... | 148,803 |
Article | /**
* Copyright 2009-2015 the original author or authors.
*
* <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 ... | .version 52 0
.class public super Article
.super java/lang/Object
.field public final version Ljava/lang/Integer;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: invokestatic Method java/l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:28:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:28:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,804 |
ObjectOrigin | import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;
/** Created by SilicorniO */
public class ObjectOrigin {
private boolean varBool;
private Boolean varBoolean;
private int varInt;
private Integer varInteger;
private float varFloat;
... | .version 52 0
.class public super ObjectOrigin
.super java/lang/Object
.field private varBool Z
.field private varBoolean Ljava/lang/Boolean;
.field private varInt I
.field private varInteger Ljava/lang/Integer;
.field private varFloat F
.field private varDouble D
.field private varString Ljava/lang/String;
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:17:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:17: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;
... | 148,805 |
StringprepException | /**
* Copyright (C) 2004 Free Software Foundation, Inc.
*
* <p>Author: Oliver Hitz
*
* <p>This file is part of GNU Libidn.
*
* <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; eithe... | .version 52 0
.class public super StringprepException
.super java/lang/Exception
.field public static CONTAINS_UNASSIGNED Ljava/lang/String;
.field public static CONTAINS_PROHIBITED Ljava/lang/String;
.field public static BIDI_BOTHRAL Ljava/lang/String;
.field public static BIDI_LTRAL Ljava/lang/String;
.method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:42:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:42:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,806 |
ChangeThreadName | /*
Licensed to Diennea S.r.l. under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. Diennea S.r.l. licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in com... | .version 52 0
.class public super ChangeThreadName
.super java/lang/Object
.implements java/lang/AutoCloseable
.field private final threadName Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:43:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:43:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,807 |
TextUtils | public class TextUtils {
public static boolean isEmpty(String str) {
return str == null || str.isEmpty();
}
}
| .version 52 0
.class public super TextUtils
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:18: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 08:18: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;
... | 148,808 |
Plot | // BlueJ Project: lesson4/fields
public class Plot {
private int width;
private int length;
/**
* Constructs a plot of a given size.
*
* @param width the width of the plot
* @param length the length of the plot
*/
public Plot(int width, int length) {
this.width = width;
this.length = le... | .version 52 0
.class public super Plot
.super java/lang/Object
.field private width I
.field private length 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 Plot width I ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:25: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 12:25: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;
... | 148,809 |
Methods84 | public class Methods84 {
public void method_0() {}
public void method_1() {}
public void method_2() {}
public void method_3() {}
public void method_4() {}
public void method_5() {}
public void method_6() {}
public void method_7() {}
public void method_8() {}
public void method_9() {}
pub... | .version 52 0
.class public super Methods84
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:46: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 11:46: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;
... | 148,810 |
Generics |
public class Generics {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
| .version 52 0
.class public super Generics
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:30:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:30: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;
... | 148,811 |
TryCatchCode | /** 在try中无论如何final 都会被执行到, 如果final中return, 那么会覆盖try中的 */
public class TryCatchCode {
public static void main(String[] args) {
TryCatchCode tryCatchCode = new TryCatchCode();
System.out.println(tryCatchCode.try_and_final_return());
System.out.println("----------------------");
System.out.println(try... | .version 52 0
.class public super TryCatchCode
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:47:50 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 01:47: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;
... | 148,812 |
ServerFrame | /* < BluetoothWifiRemote app (android touchpad for desktop - send files from android device to Desktop
- scroll slides in datashow presentation) - accross wifi and blutooth connection (tools: android / j2se).>
Copyright (C) 2014 Askao(AhmedSaad)-Omar EzzElDien
This program is free software: you can redistribute ... | .version 52 0
.class public super ServerFrame
.super javax/swing/JFrame
.field serverSocket Ljava/net/ServerSocket;
.field socket Ljava/net/Socket;
.field dis Ljava/io/DataInputStream;
.field dos Ljava/io/DataOutputStream;
.field robot Ljava/awt/Robot;
.field private jScrollPane1 Ljavax/swing/JScrollPane;
.fie... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:03:24 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
* Sat Jul 02 13:03: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;
... | 148,813 |
CollectionUtil | import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class CollectionUtil {
public static List<?> toList(Object maybeList) {
if (maybeList instanceof List<?>) {
return (List<?>) maybeList;
} else if (maybeList ins... | .version 52 0
.class public super CollectionUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:42:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:42: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;
... | 148,814 |
SettingsElement | /*
* Copyright Anatoly Starostin (c) 2017.
*/
public class SettingsElement {
public static final int TYPE_BOOLEAN = 1;
public static final int TYPE_INTEGER = 2;
public static final int TYPE_STRING = 3;
public static final int TYPE_DOUBLE = 4;
public static final int TYPE_ARRAY = 5;
public static final i... | .version 52 0
.class public super SettingsElement
.super java/lang/Object
.field public static final TYPE_BOOLEAN I = 1
.field public static final TYPE_INTEGER I = 2
.field public static final TYPE_STRING I = 3
.field public static final TYPE_DOUBLE I = 4
.field public static final TYPE_ARRAY I = 5
.field publi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:17:02 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 15:17: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;
... | 148,815 |
Transposition | import java.util.Arrays;
/** Transposition */
public class Transposition {
public static void main(String[] args) {
int[][] array = {
{1, 3, 7, 0, 0, 0},
{3, 5, 6, 1, 0, 0},
{0, 0, 0, 0, 0, 0}
};
int[][] test = transposition(array);
for (int[] arr : test) {
System.out.print... | .version 52 0
.class public super Transposition
.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 12:43: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
* Mon Jul 04 12:43: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;
... | 148,816 |
DateToMinutesOTDConverter | /**
* Premium Markets is an automated stock market analysis system. It implements a graphical
* environment for monitoring stock markets technical analysis major indicators, for portfolio
* management and historical data charting. In its advanced packaging -not provided under this
* license- it also includes : Scre... | .version 52 0
.class public super DateToMinutesOTDConverter
.super java/lang/Object
.field calendar Ljava/util/Calendar;
.field minuteOTD I
.method public <init> : (Ljava/util/Calendar;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:30:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.LinkedList;
import ja... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:30: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;
... | 148,817 |
TransporterAnnotation | /**
* @author ODias
*/
public class TransporterAnnotation {
private String id,
uniProt_ID,
tcdb_ID,
tcdb_family,
tcdb_family_description,
tcdb_description,
affinity,
type,
tcdb_location,
ytpdb_gene,
ytpdb_description,
ytpdb_type,
ytpdb_metabol... | .version 52 0
.class public super TransporterAnnotation
.super java/lang/Object
.field private id Ljava/lang/String;
.field private uniProt_ID Ljava/lang/String;
.field private tcdb_ID Ljava/lang/String;
.field private tcdb_family Ljava/lang/String;
.field private tcdb_family_description Ljava/lang/String;
.fie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:08:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:08:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,818 |
GBConstrManager | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.awt.GridBagConstraints;
import java.awt.Insets;
/**
* @author samlevin
*/
public class GBConstrManager extends GridBagConstraints {
public GBConstrManager() {
super();
}
/**
* The methods c... | .version 52 0
.class public super GBConstrManager
.super java/awt/GridBagConstraints
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/awt/GridBagConstraints <init> ()V
L4: return
L5:
.linenumbertable
L0 19
L4 20 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:48:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.GridBagConstraints;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:48:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,819 |
Constants | /*
* $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/Constants.java,v 1.2 2001/06/02 20:24:27 remm Exp $
* $Revision: 1.2 $
* $Date: 2001/06/02 20:24:27 $
*
* ====================================================================
*
* The Apache Software License, Version 1.1
*
... | .version 52 0
.class public final super Constants
.super java/lang/Object
.field public static final PROTOCOL_HANDLER_VARIABLE Ljava/lang/String; = 'java.protocol.handler.pkgs'
.field public static final Package Ljava/lang/String; = 'org.apache.naming.resources'
.field public static final DEFAULT_NAMESPACE Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:35: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 21:35: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;
... | 148,820 |
TagClass | /*
* Copyright (c) 2013 LDBC
* Linked Data Benchmark Council (http://ldbc.eu)
*
* This file is part of ldbc_socialnet_dbgen.
*
* ldbc_socialnet_dbgen 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, eit... | .version 52 0
.class public super TagClass
.super java/lang/Object
.field public id I
.field public name Ljava/lang/String;
.field public parent I
.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 20:40:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:40: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;
... | 148,821 |
Problem999 | /** https://leetcode.com/problems/available-captures-for-rook/ */
public class Problem999 {
public int numRookCaptures(char[][] board) {
int answer = 0;
int maxRow = board.length;
int maxCol = maxRow > 0 ? board[0].length : 0;
outer:
for (int i = 0; i < maxRow; i++) {
for (int j = 0; j < max... | .version 52 0
.class public super Problem999
.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
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:56:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:56: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;
... | 148,822 |
ClosestTo1000 | /** Another con attempt to solve a basic cryptarithm */
public class ClosestTo1000 {
public static void main(String[] args) {
int l = 987;
while (l >= 123) {
boolean success = doInner(l);
if (success) {
break;
}
System.out.println("no success with: l = " + l);
l -= 1;
... | .version 52 0
.class public super ClosestTo1000
.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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:40: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
* Fri Jul 01 21:40: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;
... | 148,823 |
DorianUIConstants | public class DorianUIConstants {
public static final String DORIAN_UI_CONF = "dorian";
public static final String AUTHENTICATION_SERVICE_CONF = "authentication";
}
| .version 52 0
.class public super DorianUIConstants
.super java/lang/Object
.field public static final DORIAN_UI_CONF Ljava/lang/String; = 'dorian'
.field public static final AUTHENTICATION_SERVICE_CONF Ljava/lang/String; = 'authentication'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:01:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:01: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;
... | 148,824 |
AuditPropertyChangeDto | public class AuditPropertyChangeDto {
private final String property;
private final String[] descriptions;
public AuditPropertyChangeDto(String property, String... descriptions) {
this.property = property;
this.descriptions = descriptions;
}
public String getProperty() {
return property;
}
p... | .version 52 0
.class public super AuditPropertyChangeDto
.super java/lang/Object
.field private final property Ljava/lang/String;
.field private final descriptions [Ljava/lang/String;
.method public varargs <init> : (Ljava/lang/String;[Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: inv... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:34:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:34:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,825 |
ProtoConsts | public final class ProtoConsts {
public static final byte[] SUPLA_TAG = new byte[] {83, 85, 80, 76, 65};
/** Max data packet that server can get is 10kB. */
public static final int SUPLA_MAX_DATA_SIZE = 10240;
public static final int SUPLA_TAG_SIZE = 5;
public static final int SUPLA_RC_MAX_DEV_COUNT = 50;
... | .version 52 0
.class public final super ProtoConsts
.super java/lang/Object
.field public static final SUPLA_TAG [B
.field public static final SUPLA_MAX_DATA_SIZE I = 10240
.field public static final SUPLA_TAG_SIZE I = 5
.field public static final SUPLA_RC_MAX_DEV_COUNT I = 50
.field public static final SUPLA_SO... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:12:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:12:43 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... | 148,826 |
DataStore | // ------------------------------------------------------------------------------
//
// Project: OBEOS METADATA EDITOR
// Authors: Natascha Neumaerker, Siemens Convergence Creators, Prague (CZ)
// Milan Novacek, Siemens Convergence Creators, Prague (CZ)
// Radim Zajonc, Siemens Convergence Creators, P... | .version 52 0
.class public super DataStore
.super java/lang/Object
.field private newChildName Ljava/lang/String;
.field private optionNames Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 2 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:17:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17: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;
... | 148,827 |
OrderModel | /** Created by Administrator on 2016/12/14. */
public class OrderModel {
private String title;
private String context;
private String time;
private String dizhi;
private String local;
public String getLocal() {
return local;
}
public void setLocal(String local) {
this.local = local;
}
pub... | .version 52 0
.class public super OrderModel
.super java/lang/Object
.field private title Ljava/lang/String;
.field private context Ljava/lang/String;
.field private time Ljava/lang/String;
.field private dizhi Ljava/lang/String;
.field private local Ljava/lang/String;
.method public <init> : ()V
.code st... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:14:06 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:14:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,828 |
Solution | /**
* Given two words word1 and word2, find the minimum number of steps required to make word1 and
* word2 the same, where in each step you can delete one character in either string.
*
* <pre>
* Example 1:
* Input: "sea", "eat"
* Output: 2
* Explanation: You need one step to make "sea" to "ea" and another step ... | .version 52 0
.class super Solution
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 17
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:29:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:29: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;
... | 148,829 |
Custom | import java.util.Scanner;
public class Custom {
int a, b, r, t;
Scanner s = new Scanner(System.in);
public int choose() {
System.out.println("choose");
r = s.nextInt();
return r;
}
public int selectfood() {
System.out.println("choose your food");
a = s.nextInt();
return a;
}
... | .version 52 0
.class public super Custom
.super java/lang/Object
.field a I
.field b I
.field r I
.field t I
.field s Ljava/util/Scanner;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/util/Sc... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:52:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Scanner;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:52:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,830 |
InterceptorForwardRequest | import java.util.HashMap;
import java.util.Map;
/** Created by rpatadia on 15/05/2014. */
public final class InterceptorForwardRequest {
public InterceptorForwardRequest(String httpRequestMethod, String requestContentType) {
this.httpRequestMethod = httpRequestMethod;
this.requestContentType = requestConte... | .version 52 0
.class public final super InterceptorForwardRequest
.super java/lang/Object
.field public requestBody Ljava/lang/String;
.field public httpRequestMethod Ljava/lang/String;
.field public requestContentType Ljava/lang/String;
.field public headerParams Ljava/util/Map; .fieldattributes
.signature ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:33:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:33: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;
... | 148,831 |
ProfileActivityTest | /*
* Copyright 2017 Max Schafer, Ammar Mahdi, Riley Dixon, Steven Weikai Lu, Jiaxiong Yang
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation t... | .version 52 0
.class public super ProfileActivityTest
.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 17
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:36: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 05:36: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;
... | 148,832 |
ProfilingException | /*
* 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 ... | .version 52 0
.class public super ProfilingException
.super java/lang/Exception
.field private static final serialVersionUID J = -3282996556813630561L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init>... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:40:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:40: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;
... | 148,833 |
ReadOnlyPropertyException | /*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class public super ReadOnlyPropertyException
.super java/lang/IllegalArgumentException
.field private final propertyName Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: invokespec... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:22:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:22: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;
... | 148,834 |
DiscussionThreadStat | import java.util.List;
public class DiscussionThreadStat {
Long threadId;
Long numberOfReplies;
Long lastActivity;
Long numberOfViews;
List<String> activeAuthors;
public Long getThreadId() {
return threadId;
}
public void setThreadId(Long threadId) {
this.threadId = threadId;
}
public L... | .version 52 0
.class public super DiscussionThreadStat
.super java/lang/Object
.field threadId Ljava/lang/Long;
.field numberOfReplies Ljava/lang/Long;
.field lastActivity Ljava/lang/Long;
.field numberOfViews Ljava/lang/Long;
.field activeAuthors Ljava/util/List; .fieldattributes
.signature Ljava/util/List... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:50:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:50:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,835 |
CharRef | /*
* Copyright (c) 2014 Haixing Hu
*
* 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 ... | .version 52 0
.class public final super CharRef
.super java/lang/Object
.field public value C
.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 linenu... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:08: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
* Sun Jul 03 22:08: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;
... | 148,836 |
DocInfo | import java.io.Serializable;
/**
* @author Alex Poon
*/
public class DocInfo implements Serializable {
// Constants and fields.
// -------------------------------------------------------------------------
/** */
private static final long serialVersionUID = 5469863410000543073L;
private int id;
private... | .version 52 0
.class public super DocInfo
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 5469863410000543073L
.field private id I
.field private frequency I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:42: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
* Mon Jul 04 14:42: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;
... | 148,837 |
StorageResolverSpi | /**
* 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 not... | .version 52 0
.class public super abstract StorageResolverSpi
.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 24
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:58: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
* Fri Jul 01 08:58:23 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... | 148,838 |
ParameterSource | /*
* Created on Oct 7, 2010
*
* 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,... | .version 52 0
.class public super ParameterSource
.super java/lang/Object
.method public static parametersFrom : (Ljava/util/List;)Ljava/util/List;
.code stack 5 locals 4
L0: new java/util/ArrayList
L3: dup
L4: invokespecial Method java/util/ArrayList <init> ()V
L7: astore_1
L8: aload_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:59:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:59: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;
... | 148,839 |
BreakWithLabelDemo | /*
* Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* no... | .version 52 0
.class super BreakWithLabelDemo
.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 32
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:23: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 08:23: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;
... | 148,840 |
z4td | // This file is automatically generated.
/*
* HTC Desire 5088
*
* DEVICE: z4td
* MODEL: HTC 5088
*/
final class z4td {
public static final String DATA = "HTC|Desire 5088|";
}
| .version 52 0
.class final super z4td
.super java/lang/Object
.field public static final DATA Ljava/lang/String; = 'HTC|Desire 5088|'
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:55: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
* Fri Jul 01 04:55: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;
... | 148,841 |
Article | import java.util.Date;
public class Article {
private Integer id;
private String title;
private String content;
private Date posttime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTi... | .version 52 0
.class public super Article
.super java/lang/Object
.field private id Ljava/lang/Integer;
.field private title Ljava/lang/String;
.field private content Ljava/lang/String;
.field private posttime Ljava/util/Date;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: inv... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:52:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:52: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;
... | 148,842 |
TupleInt | import java.io.Serializable;
public class TupleInt implements Serializable {
private int first;
private int second;
public TupleInt(int first, int second) {
this.first = first;
this.second = second;
}
public int getFirst() {
return first;
}
public void setFirst(int first) {
this.first ... | .version 52 0
.class public super TupleInt
.super java/lang/Object
.implements java/io/Serializable
.field private first I
.field private second 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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:10: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 19:10: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;
... | 148,843 |
GuessNumberHigherOrLower | /** */
/**
* Title 374 :
*
* <p>Date : Jan 15, 2021
*
* @author bramanarayan
*/
public class GuessNumberHigherOrLower {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
}
/***
*
*
* We are playing the Guess Game. The game is as follows... | .version 52 0
.class public super GuessNumberHigherOrLower
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:22:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:22: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;
... | 148,844 |
TransportFile | import java.io.Serializable;
public class TransportFile implements Serializable {
private static final long serialVersionUID = 1L;
private String fileName;
private byte[] content;
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName... | .version 52 0
.class public super TransportFile
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private fileName Ljava/lang/String;
.field private content [B
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invo... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:42: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
* Mon Jul 04 00:42: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;
... | 148,845 |
ProbeConfigurationException | /**
* Copyright (C) 2014 Karlsruhe Institute of Technology
*
* <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... | .version 52 0
.class public super ProbeConfigurationException
.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 27
L4 28
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:25: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
* Sat Jul 02 19:25: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;
... | 148,846 |
ComponentVerifierException | /**
* This file is part of vVoteVerifier which is designed to be used as a verifiation tool for the
* vVote Election System. Copyright (C) 2014 James Rumble (jerumble@gmail.com)
*
* <p>This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as pub... | .version 52 0
.class public super ComponentVerifierException
.super java/lang/Exception
.field private static final serialVersionUID J = 6497715466776948767L
.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
* Sun Jul 03 21:33:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:33: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;
... | 148,847 |
Test | /*
* Copyright (c) 2009, 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 Softwa... | .version 52 0
.class public super Test
.super java/lang/Object
.field static var_bad 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 32
.end linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:47:17 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
* Fri Jul 01 10:47:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,848 |
Production9451 | public class Production9451 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production9451
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:18:11 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:18: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;
... | 148,849 |
ErrorInBrowserPlaybackException | /** Created by dkirpichenkov on 16.05.16. */
public class ErrorInBrowserPlaybackException extends Exception {
public ErrorInBrowserPlaybackException(String message) {
super(message);
}
}
| .version 52 0
.class public super ErrorInBrowserPlaybackException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:20: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
* Mon Jul 04 07:20: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;
... | 148,850 |
QueryStatItem | public class QueryStatItem {
private final String query;
private final int numberOfSearches;
private final long numberOfHits;
public QueryStatItem(String query, int numberOfSearches, long numberOfHits) {
this.query = query;
this.numberOfSearches = numberOfSearches;
this.numberOfHits = numberOfHits;... | .version 52 0
.class public super QueryStatItem
.super java/lang/Object
.field private final query Ljava/lang/String;
.field private final numberOfSearches I
.field private final numberOfHits J
.method public <init> : (Ljava/lang/String;IJ)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:02: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 22:02: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;
... | 148,851 |
EnvironmentProd | public class EnvironmentProd {
private String siteURL = "https://api.us1.covisint.com";
private String realmCode = "BLPOC-OWNER";
private String organization = "OBLPOC-OWNER590702";
private String instanceID = "8cc63ded-fbd8-45e0-861f-7ea28da85855";
private String clientID = "GXr3PsUoLJBPgzdprTXsKAXNLZMm6yPM... | .version 52 0
.class public super EnvironmentProd
.super java/lang/Object
.field private siteURL Ljava/lang/String;
.field private realmCode Ljava/lang/String;
.field private organization Ljava/lang/String;
.field private instanceID Ljava/lang/String;
.field private clientID Ljava/lang/String;
.field private cl... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:18: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
* Sat Jul 02 13:18: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;
... | 148,852 |
LocalizationContext | /*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | .version 52 0
.class public super LocalizationContext
.super java/lang/Object
.field private bundle Ljava/util/ResourceBundle;
.field private locale Ljava/util/Locale;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:57:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.StringReader;
import java.util.Locale;
import java.util.PropertyResourceBundle;
import java.util.ResourceBundle;
import org.evosuite.runtime.EvoRunner;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:57: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;
... | 148,853 |
Permutation | public class Permutation {
/**
* recursive method, used for the tree traversal.
*
* @param inStr the elements need to be choose
* @param pos the position of the elements we choose
* @param parentData the elements have been chosen
*/
public void permutation(String inStr, int pos, StringBuffer paren... | .version 52 0
.class public super Permutation
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:28: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 03:28: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;
... | 148,854 |
DouSingleton | /*
* @(#)DouSingleton.java 1.0 15/07/06
*
* Copyright 2013 http://taronliu.blogspot.com/. All rights reserved.
* TARON PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/**
* @projectName island
* @title
* <p>【用一句话描述该文件做什么】
* @fileName DouSingleton.java
* @packageName com.blogspot.etude.patter... | .version 52 0
.class public super DouSingleton
.super java/lang/Object
.field private static volatile uniqueSingleton LDouSingleton;
.method private <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
* Mon Jul 04 06:30:11 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:30: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;
... | 148,855 |
NullActionInList | /*
* TextLexer - Lexical Analyzer API for Java! <https://github.com/JonathanxD/TextLexer>
* Copyright (C) 2016 TheRealBuggy/JonathanxD (https://github.com/JonathanxD/) <jonathan.scripter@programmer.net>
*
* GNU GPLv3
*
* This program is free software: you can redistribute it and/or modify
* it unde... | .version 52 0
.class public super NullActionInList
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 30
L4 31
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:48:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:48:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,856 |
TextUtil | public class TextUtil {
public static boolean isEmpty(String str) {
return null == str;
}
public static boolean isBlank(String str) {
if (isEmpty(str)) return true;
return str.trim().length() <= 0;
}
/** 获取到全路径的地址 */
public static String getFullUrl(String homePage, String url) {
if (isUr... | .version 52 0
.class public super TextUtil
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:02:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:02:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,857 |
XlsxHeader | /** Created by benjamin on 16/9/29. */
public class XlsxHeader {
private String name;
private String value;
public XlsxHeader() {}
public XlsxHeader(String name, String value) {
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public void setName(String n... | .version 52 0
.class public super XlsxHeader
.super java/lang/Object
.field private name Ljava/lang/String;
.field private value 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:
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:06: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
* Mon Jul 04 02:06: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;
... | 148,858 |
FieldDeclaration | /* 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, software
* distributed... | .version 52 0
.class public super FieldDeclaration
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field protected name Ljava/lang/String;
.field protected type Ljava/lang/String;
.field protected value Ljava/lang/Object;
.method public <init> : (Lj... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:45: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 12:45: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;
... | 148,859 |
Schedule | import java.sql.Time;
public class Schedule {
private Long callnumber;
private Long coursenumber;
private String department;
private String days;
private Time startime;
private Time endtime;
private String instructor;
private Short room;
private String building;
public Long getCallnumber() {
... | .version 52 0
.class public super Schedule
.super java/lang/Object
.field private callnumber Ljava/lang/Long;
.field private coursenumber Ljava/lang/Long;
.field private department Ljava/lang/String;
.field private days Ljava/lang/String;
.field private startime Ljava/sql/Time;
.field private endtime Ljava/sql/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:25:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Time;
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
* Fri Jul 01 11:25: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;
... | 148,860 |
CollationKey | /*
* Copyright 1997-2005 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 abstract CollationKey
.super java/lang/Object
.implements java/lang/Comparable
.field private final source Ljava/lang/String;
.method public abstract compareTo : (LCollationKey;)I
.end method
.method public getSourceString : ()Ljava/lang/String;
.code stack 1 locals 1
L0... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:03:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:03:46 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... | 148,861 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:08: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 01:08: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;
... | 148,862 |
Ref | /** Created by justin on 14/08/2014. */
public class Ref {
public static final String MODID = "DynamicMobs";
public static final String VERSION = "0.0.1";
public static final String NAME = "DynamicMobs";
}
| .version 52 0
.class public super Ref
.super java/lang/Object
.field public static final MODID Ljava/lang/String; = 'DynamicMobs'
.field public static final VERSION Ljava/lang/String; = '0.0.1'
.field public static final NAME Ljava/lang/String; = 'DynamicMobs'
.method public <init> : ()V
.code stack 1 local... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:37:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:37: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;
... | 148,863 |
Application | public class Application {
private static String name;
private static String author;
private static String version;
private static String licence;
private static int year;
public Application(String fName, String fVersion, String fAuthor, String fLicence, int fYear) {
name = fName;
author = fAuthor;... | .version 52 0
.class public super Application
.super java/lang/Object
.field private static name Ljava/lang/String;
.field private static author Ljava/lang/String;
.field private static version Ljava/lang/String;
.field private static licence Ljava/lang/String;
.field private static year I
.method public <init... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:30:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:30:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,864 |
Solution | class Solution {
static int n;
static Long[][] dp;
static long MOD = 1_000_000_007;
public int numTilings(int N) {
n = N;
dp = new Long[n + 1][1 << 2];
long ans = f(0, true, true);
return (int) ans;
}
// t1 - whether tile 1 is available
// t2 - whether tile 2 is available
static long f... | .version 52 0
.class super Solution
.super java/lang/Object
.field static n I
.field static dp [[Ljava/lang/Long;
.field static MOD J
.method <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 22:14:14 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 22:14: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;
... | 148,865 |
ServiceUIFactory | /* ServiceUIFactory.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 op... | .version 52 0
.class public super abstract ServiceUIFactory
.super java/lang/Object
.field public static final ABOUT_UIROLE I = 1
.field public static final ADMIN_UIROLE I = 2
.field public static final MAIN_UIROLE I = 3
.field public static final RESERVED_UIROLE I = 99
.field public static final DIALOG_UI Ljava... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:56:25 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:56:25 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... | 148,866 |
NotificationPortletData | /**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
*... | .version 52 0
.class public super NotificationPortletData
.super java/lang/Object
.field private final notificationNewsLink Ljava/lang/String;
.field private final noNewsInfo Ljava/lang/String;
.field private final hasNews Z
.field private final notificationNewsLinkTitle Ljava/lang/String;
.method public <init>... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:09: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
* Fri Jul 01 16:09: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;
... | 148,867 |
HashGenerationException | //
public class HashGenerationException extends Exception {
public HashGenerationException() {
super();
}
public HashGenerationException(String message, Throwable throwable) {
super(message, throwable);
}
public HashGenerationException(String message) {
super(message);
}
public HashGenera... | .version 52 0
.class public super HashGenerationException
.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 7
L4 8
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:54: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 18:54:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,868 |
MessageRepeatException | public class MessageRepeatException extends RuntimeException {
/** */
private static final long serialVersionUID = -7232964547451547516L;
public MessageRepeatException() {
super();
}
public MessageRepeatException(String s) {
super(s);
}
public MessageRepeatException(String format, Object... ar... | .version 52 0
.class public super MessageRepeatException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -7232964547451547516L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: ret... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:35: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
* Fri Jul 01 09:35: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;
... | 148,869 |
SyntheticAddress | /*
* 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, software
* distribut... | .version 52 0
.class public final super SyntheticAddress
.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 25
L4 26
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:31: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 10:31: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;
... | 148,870 |
Production5997 | public class Production5997 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production5997
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:53: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
* Sun Jul 03 22:53: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;
... | 148,871 |
UNPunct | /**
* Copyright (c) 2009/09-2012/08, Regents of the University of Colorado All rights reserved.
*
* <p>Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* <p>1. Redistributions of source code must retain the above cop... | .version 52 0
.class public super UNPunct
.super java/lang/Object
.field private static final VALUE_SET Ljava/util/Set; .fieldattributes
.signature Ljava/util/Set<Ljava/lang/String;>;
.end fieldattributes
.field public static final PLUS Ljava/lang/String; = '+'
.field public static final EQUAL Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:54:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
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
* Sun Jul 03 19:54:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,872 |
KeyValueDisplay | public class KeyValueDisplay {
private Object key;
private Object value;
private String display;
public KeyValueDisplay(String display, Object key, Object value) {
this.display = display;
this.key = key;
this.value = value;
}
public String getDisplay() {
return display;
}
public Objec... | .version 52 0
.class public super KeyValueDisplay
.super java/lang/Object
.field private key Ljava/lang/Object;
.field private value Ljava/lang/Object;
.field private display Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
.code stack 2 locals 4
L0: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:10: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 12:10: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;
... | 148,873 |
LeeCode3 | import java.util.HashMap;
public class LeeCode3 {
/**
* 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 输入: "abcabcbb" 输出: 3 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。
*
* @param args
*/
public static void main(String[] args) {
// String s = "abcabcdbb";
String s = "aabsdefghka";
int res_index = 0;
int r... | .version 52 0
.class public super LeeCode3
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:15: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
* Fri Jul 01 23:15: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;
... | 148,874 |
Client | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.net.Socket;
/** Created by dowan on 10/10/15. */
public class Client {
Socket socket;
private PrintWriter envoi = null;
private BufferedReader receptio... | .version 52 0
.class public super Client
.super java/lang/Object
.field socket Ljava/net/Socket;
.field private envoi Ljava/io/PrintWriter;
.field private reception Ljava/io/BufferedReader;
.method public <init> : (Ljava/net/InetAddress;I)V
.code stack 6 locals 3
L0: aload_0
L1: invokespecial Meth... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:50:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.InetAddress;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.net.MockInetAd... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:50: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;
... | 148,875 |
PostgresTypes | import java.sql.Types;
public class PostgresTypes {
/** The VARCHAR type. */
public static final int PG_TYPE_VARCHAR = 1043;
/** The integer array type (for the column pg_index.indkey). */
public static final int PG_TYPE_INT2VECTOR = 22;
public static final int PG_TYPE_BOOL = 16;
public static final int... | .version 52 0
.class public super PostgresTypes
.super java/lang/Object
.field public static final PG_TYPE_VARCHAR I = 1043
.field public static final PG_TYPE_INT2VECTOR I = 22
.field public static final PG_TYPE_BOOL I = 16
.field public static final PG_TYPE_BYTEA I = 17
.field public static final PG_TYPE_BPCHAR... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:35:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:35: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;
... | 148,876 |
APIViolationException | public class APIViolationException extends Exception {
public APIViolationException(String message) {
super(message);
}
}
| .version 52 0
.class public super APIViolationException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:31: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 07:31: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;
... | 148,877 |
RecentIndexValue | /** Created by OA on 2015/5/5. */
// 近30日和近7日的指标值
public class RecentIndexValue {
private String date;
private float recent30Value;
private float recent7Value;
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public float getRecent30Value() {
... | .version 52 0
.class public super RecentIndexValue
.super java/lang/Object
.field private date Ljava/lang/String;
.field private recent30Value F
.field private recent7Value F
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:14:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:14:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,878 |
FastTimeBasedIdGenerator | import java.nio.charset.StandardCharsets;
import java.util.Arrays;
public class FastTimeBasedIdGenerator {
private final Object lock = new Object();
private long sequenceNumber;
private long lastTimestamp;
private static final FastTimeBasedIdGenerator INSTANCE = new FastTimeBasedIdGenerator();
public stat... | .version 52 0
.class public super FastTimeBasedIdGenerator
.super java/lang/Object
.field private final lock Ljava/lang/Object;
.field private sequenceNumber J
.field private lastTimestamp J
.field private static final INSTANCE LFastTimeBasedIdGenerator;
.field private static final digits [B
.field private stat... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06: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
* Sat Jul 02 06: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;
... | 148,879 |
LoadData | import java.util.List;
/** Created by magicdoom on 2015/3/30. */
public class LoadData {
public static final String loadDataHint = "/*loaddata*/";
private boolean isLocal;
private List<String> data;
private String fileName;
private String charset;
private String lineTerminatedBy;
private String fieldTerm... | .version 52 0
.class public super LoadData
.super java/lang/Object
.field public static final loadDataHint Ljava/lang/String; = '/*loaddata*/'
.field private isLocal Z
.field private data Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private fi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:19:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:19: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;
... | 148,880 |
CoinChange | /** Created by jacek on 12/24/16. */
public class CoinChange {
/*
This time looking for ALL ways to make a change
*/
static int[] COINS = {25, 10, 5, 1}; // sorted descending, unique
static int countWays(int amount) {
return countWays(amount, 0); // start with highest denomination
}
/*
We c... | .version 52 0
.class public super CoinChange
.super java/lang/Object
.field static COINS [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 6
.end linenumbe... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:37: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
* Mon Jul 04 11:37: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;
... | 148,881 |
TypeUtil | import java.lang.reflect.ParameterizedType;
/** 专门针对泛型的工具类 */
public class TypeUtil {
// 获取指定类上的指定 下标泛型实例
public static <T> T getObject(Object o, int index) {
try {
/**
* Object getClass 获取指定对象 Class 对象 getGenericSuperclass 获取Class上的泛型 ParameterizedType 泛型参数
* getActualTypeArguments 获取Clas... | .version 52 0
.class public super TypeUtil
.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
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:48:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:48:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,882 |
ErrorMessage | public class ErrorMessage {
private String message;
public ErrorMessage(String message) {
super();
this.message = message;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
| .version 52 0
.class public super ErrorMessage
.super java/lang/Object
.field private message 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 F... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:54: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 03:54: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;
... | 148,883 |
A | // "Unimplement Class" "true"
class A {}
class B {}
| .version 52 0
.class super A
.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 2
.end linenumbertable
.end code
.end method
.sourcefile... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:07:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:07: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;
... | 148,884 |
Extension | public class Extension {
public Extension(String ext, long expires, String remoteip, int remoteport) {
this.ext = ext;
this.expires = expires;
this.remoteip = remoteip;
this.remoteport = remoteport;
}
public String ext;
public long expires;
public String remoteip;
public int remoteport;
}
| .version 52 0
.class public super Extension
.super java/lang/Object
.field public ext Ljava/lang/String;
.field public expires J
.field public remoteip Ljava/lang/String;
.field public remoteport I
.method public <init> : (Ljava/lang/String;JLjava/lang/String;I)V
.code stack 3 locals 6
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:00:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:00:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,885 |
copyOfImplementation | import java.util.*;
/**
* Created by jayapriya on 11/14/15.
*
* <p>The main difference between Arrays.copyOf() and System.arraycopy() is that Arrays.copyOf()
* automatically creates a new array where as for System.arraycopy() we have to explicitly create
* new array.
*/
public class copyOfImplementation {
publ... | .version 52 0
.class public super copyOfImplementation
.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 08:35:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:35:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,886 |
ELUtils | import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
/**
* @author Andrey Sokolov
*/
public final class ELUtils {
private ELUtils() {}
public static String urlEncode(final String param) throws UnsupportedEncodingException {
return URLEncoder.encode(param, "UTF-8");
}
}
| .version 52 0
.class public final super ELUtils
.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 11
L4 12
.end linenumbe... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:21: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
* Sat Jul 02 11:21: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;
... | 148,887 |
QuickSortRandomPivot | /* ===== ===== =====
Theory of Programming
Quick sort algorithm with random pivot selection
http://theoryofprogramming.com/2015/01/20/quick-sort-algorithm/
GitHub - https://github.com/VamsiSangam/theoryofprogramming
Code Contributor - Aditya Aggarwal (github.com/the-cybersapien, cybersapien.xyz)
===== ===== ===== */... | .version 52 0
.class public super QuickSortRandomPivot
.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
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:29:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:29: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;
... | 148,888 |
EurekaConstants | /*
* Copyright 2013-2022 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 a... | .version 52 0
.class public final super EurekaConstants
.super java/lang/Object
.field public static final DEFAULT_PREFIX Ljava/lang/String; = '/eureka'
.method private <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: new java/lang/Asserti... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:14: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:14:59 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... | 148,889 |
DateRange | import java.util.Date;
public class DateRange {
public Date start;
public Date end;
public DateRange() {}
;
public DateRange(Date start, Date end) {
super();
this.start = start;
this.end = end;
}
public Date getStart() {
return start;
}
public void setStart(Date start) {
this.... | .version 52 0
.class public super DateRange
.super java/lang/Object
.field public start Ljava/util/Date;
.field public end Ljava/util/Date;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:45:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:45: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;
... | 148,890 |
JavaSourceAnnotationDefinition | /*
* The MIT License (MIT)
*
* Copyright (c) 2016 socraticphoenix@gmail.com
* Copyright (c) 2016 contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
* in... | .version 52 0
.class public super JavaSourceAnnotationDefinition
.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 24
.end linenumberta... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:01:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:01: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;
... | 148,891 |
ReflectionHelper | import java.lang.reflect.Field;
public class ReflectionHelper {
public static Object getFieldValue(Object obj, String fieldName) {
Field field;
try {
field = obj.getClass().getDeclaredField(fieldName);
} catch (NoSuchFieldException e) {
e.printStackTrace();
return null;
} catch (Se... | .version 52 0
.class public super ReflectionHelper
.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 c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:21:25 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:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,892 |
EXTTextureCompressionBPTC | /*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
/**
* Native bindings to the <a target="_blank"
* href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_compression_bptc.txt">EXT_texture_compression_bptc</a>
* e... | .version 52 0
.class public final super EXTTextureCompressionBPTC
.super java/lang/Object
.field public static final GL_COMPRESSED_RGBA_BPTC_UNORM_EXT I = 36492
.field public static final GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT I = 36493
.field public static final GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT I = 36494 ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:52: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
* Sun Jul 03 22:52:48 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... | 148,893 |
DummyMalcolmDatasetModel | /*-
*******************************************************************************
* Copyright (c) 2011, 2016 Diamond Light Source Ltd.
* 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, ... | .version 52 0
.class public super DummyMalcolmDatasetModel
.super java/lang/Object
.field private name Ljava/lang/String;
.field private dtype Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.field private rank I
.field private shape [I
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:32:07 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 04:32: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;
... | 148,894 |
LockRequiredEvent | /** Client-local event to indicate that the currently focused editor needs to request a lock. */
public class LockRequiredEvent {}
| .version 52 0
.class public super LockRequiredEvent
.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 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:52: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
* Mon Jul 04 11:52: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;
... | 148,895 |
BubbleSort | /**
* BubbleSort.
*
* @author Stanislav (376825@mail.ru)
* @version $Id$
* @since 0.1
*/
public class BubbleSort {
/**
* back.
*
* @param array - int[]
* @return return - int[]
*/
public int[] sort(int[] array) {
for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array.lengt... | .version 52 0
.class public super BubbleSort
.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
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:53:11 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: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;
... | 148,896 |
MethodExceptionTest | public class MethodExceptionTest {
public static void main(String[] args) throws Exception {
boolean success = false;
try {
Runtime.getRuntime().exec("hostname");
} catch (SecurityException e) {
success = true;
}
assert success;
}
}
| .version 52 0
.class public super MethodExceptionTest
.super java/lang/Object
.field static final synthetic $assertionsDisabled Z
.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 00:52:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00: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;
... | 148,897 |
Basic | /*
* Copyright (c) 2004, 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 Softwa... | .version 52 0
.class public super Basic
.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 33
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:01:11 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:01: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;
... | 148,898 |
PubSubQuery | /*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | .version 52 0
.class public super abstract PubSubQuery
.super java/lang/Object
.implements java/io/Serializable
.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 132
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:30:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:30:07 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... | 148,899 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.