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 |
|---|---|---|---|---|---|
Location | public class Location {
private float longitude;
private float latitude;
private long sunset;
private long sunrise;
private String country;
private String city;
public float getLongitude() {
return longitude;
}
public void setLongitude(float longitude) {
this.longitude = longitude;
}
p... | .version 52 0
.class public super Location
.super java/lang/Object
.field private longitude F
.field private latitude F
.field private sunset J
.field private sunrise J
.field private country Ljava/lang/String;
.field private city Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:46: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 16:46: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;
... | 151,000 |
FileSystemUtils | import java.io.File;
import java.io.IOException;
import java.util.UUID;
public class FileSystemUtils {
public static File ensureDirExists(File dir) throws IOException {
if (!(dir.isDirectory() || dir.mkdirs())) {
throw new IOException("Couldn't create directory '" + dir + "'");
}
return dir;
}
... | .version 52 0
.class public super FileSystemUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:27:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import org.evosuite.runtime.EvoRunner;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:27: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;
... | 151,001 |
TestFileW | /**
* Created by Defias on 2017/2/24.
*
* <p>PrintWriter类向文本文件写入数据 java.io.PrintWriter -------------------------------------------------
* +PrintWriter(file: File) 为指定的文件创建一个PrintWriter +PrintWriter(filename: String)
* 为指定的文件名字符串创建一个PrintWriter对象 +print(s: String): void 将字符串写入文件中 +print(c: char): void 将字符写入文件中
* ... | .version 52 0
.class public super TestFileW
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 26
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:59:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:59:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,002 |
Settings | /**
* konstatny potrebne pri praci s tymto systemom
*
* @author Filip Fekiac
*/
public class Settings {
public static char QUOTE = '"';
public static char STRING_QUOTE = '\'';
public static String ValidTimeTablesRaw = "_ORACLE_VALIDTIME_TABLES"; // tabulka metadat
public static String ValidTimeTables = "";
... | .version 52 0
.class public super Settings
.super java/lang/Object
.field public static QUOTE C
.field public static STRING_QUOTE C
.field public static ValidTimeTablesRaw Ljava/lang/String;
.field public static ValidTimeTables Ljava/lang/String;
.field public static DefaultPeriodNameRaw Ljava/lang/String;
.fie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:41:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:41: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;
... | 151,003 |
Main | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int min = Integer.MAX_VALUE;
int max = Integer.MIN_VALUE... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:00:12 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
* Sun Jul 03 19:00:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,004 |
Xref | /** Created by dapregi on 24/08/15. */
@Deprecated
public class Xref {
private String source;
private String sourceVersion;
private String id;
private String idVersion;
public Xref() {
init();
}
public Xref(String source, String sourceVersion, String id, String idVersion) {
init();
if (sour... | .version 52 0
.class public super Xref
.super java/lang/Object
.field private source Ljava/lang/String;
.field private sourceVersion Ljava/lang/String;
.field private id Ljava/lang/String;
.field private idVersion Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:05:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 08:05: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;
... | 151,005 |
Feed | /**
* @description TODO
* @author zcloud
* @date 2013/11/10
*/
public class Feed {
public static final String tag = "Feed";
private String title;
private String url;
private int selectStatus; // 是否已经选中
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.titl... | .version 52 0
.class public super Feed
.super java/lang/Object
.field public static final tag Ljava/lang/String; = 'Feed'
.field private title Ljava/lang/String;
.field private url Ljava/lang/String;
.field private selectStatus I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:56:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:56:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,006 |
RabbitHeaders | /*
* (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | .version 52 0
.class public super RabbitHeaders
.super java/lang/Object
.field public static final RABBIT_HEADER_CAF_WORKER_REJECTED Ljava/lang/String; = 'x-caf-worker-rejected'
.field public static final RABBIT_HEADER_CAF_WORKER_RETRY Ljava/lang/String; = 'x-caf-worker-retry'
.field public static final RABBIT_HEA... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:59: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 16:59: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;
... | 151,007 |
RefreshTokenData | /*
* Copyright (c) 2015, iLearnRW. Licensed under Modified BSD Licence. See licence.txt for details.
*/
public class RefreshTokenData {
private String userName;
private String password;
private String teacherUser;
private String teacherPass;
public RefreshTokenData() {
this.userName = "";
this.pass... | .version 52 0
.class public super RefreshTokenData
.super java/lang/Object
.field private userName Ljava/lang/String;
.field private password Ljava/lang/String;
.field private teacherUser Ljava/lang/String;
.field private teacherPass Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:35:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:35:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,008 |
DataInUseException | /** Created by Horrgs on 11/22/2015. */
public class DataInUseException extends Exception {
public DataInUseException() {
super();
}
public DataInUseException(String message) {
super(message);
}
public DataInUseException(String message, Throwable cause) {
super(message, cause);
}
public Dat... | .version 52 0
.class public super DataInUseException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 8
L4 9
.end l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:05:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:05: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;
... | 151,009 |
ExamplePublisherOptions | /*******************************************************************************
* Copyright (c) 2017, 2018 Eurotech and/or its affiliates and others
*
* 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... | .version 52 0
.class final super ExamplePublisherOptions
.super java/lang/Object
.field private static final DEFAULT_CLOUD_PUBLISHER_PID Ljava/lang/String; = ''
.field private static final DEFAULT_CLOUD_SUBSCRIBER_PID Ljava/lang/String; = ''
.field private static final DEFAULT_PUBLISH_RATE I = 1000
.field private... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:15:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:15: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;
... | 151,010 |
ServiceProviderInfo | // Start of user code Copyright
/*******************************************************************************
* Copyright (c) 2014 Jad El-khoury.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distributio... | .version 52 0
.class public super ServiceProviderInfo
.super java/lang/Object
.field public name Ljava/lang/String;
.field public serviceProviderId 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 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:17:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:17:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,011 |
CarGuo | public class CarGuo {}
| .version 52 0
.class public super CarGuo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:08:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:08:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,012 |
EllysSocks | import static java.util.Arrays.*;
import java.awt.geom.*;
import java.math.*;
import java.text.*;
import java.util.*;
import java.util.regex.*;
public class EllysSocks {
public int getDifference(int[] S, int P) {
int N = S.length;
Arrays.sort(S);
long l = 0, h = 1000000000;
int best = 0;
while... | .version 52 0
.class public super EllysSocks
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:11:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:11: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;
... | 151,013 |
CannotReadSecondBlockException | import java.io.IOException;
public class CannotReadSecondBlockException extends RuntimeException {
public CannotReadSecondBlockException(String message, IOException e) {
super(message, e);
}
}
| .version 52 0
.class public super CannotReadSecondBlockException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;Ljava/io/IOException;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/RuntimeException <init> (Ljava/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:18:47 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.io.MockIOException;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:18: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;
... | 151,014 |
JoinDemo01 | public class JoinDemo01 implements Runnable {
private static int n = 0;
public void run() {
for (int i = 0; i < 5; i++) {
n += 1;
}
}
public static void main(String[] args) throws InterruptedException {
Thread t = new Thread(new JoinDemo01());
t.start();
/*
* 注释一 TimeUnit.SECOND... | .version 52 0
.class public super JoinDemo01
.super java/lang/Object
.implements java/lang/Runnable
.field private static n 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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:23: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 13:23: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;
... | 151,015 |
Production8769 | public class Production8769 {
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 Production8769
.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
* Fri Jul 01 09:36:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:36: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;
... | 151,016 |
STAttr | import java.util.Map;
public class STAttr {
private int traceId;
private String traceName;
private Map<String, Object> attrs;
public STAttr(int traceId, String traceName, Map<String, Object> attrs) {
this.traceId = traceId;
this.traceName = traceName;
this.attrs = attrs;
}
@Override
public... | .version 52 0
.class public super STAttr
.super java/lang/Object
.field private traceId I
.field private traceName Ljava/lang/String;
.field private attrs Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.method public <init> : (ILjava/l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:14:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:14:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,017 |
ProcessMapColor | public class ProcessMapColor {
public ProcessMapColor() {}
public ProcessMapColor(String title) {
setTitle(title);
}
public String title;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String value;
public String getVal... | .version 52 0
.class public super ProcessMapColor
.super java/lang/Object
.field public title Ljava/lang/String;
.field public 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
* Sat Jul 02 18:39: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 18:39: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;
... | 151,018 |
Peak | /*
* RapidMiner
*
* Copyright (C) 2001-2008 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as pub... | .version 52 0
.class public super Peak
.super java/lang/Object
.implements java/lang/Comparable
.field private index D
.field private magnitude D
.method public <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:09: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 00:09: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;
... | 151,019 |
Trace | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com)
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless... | .version 52 0
.class public super Trace
.super java/lang/Object
.field private final traceIdGen Ljava/util/concurrent/atomic/AtomicInteger;
.field private _traceId Ljava/lang/String;
.field private _key Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.f... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:29: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
* Mon Jul 04 07:29: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;
... | 151,020 |
Collections | import java.util.Arrays;
import java.util.List;
/** Created by Nechepurenko on 30.04.2017. */
public class Collections {
public static void main(String[] args) {
// String[] langs = new String[4];
// langs[0] = "Java";
// langs[1] = "C#";
// langs[2] = "Python";
// langs[3] = "PHP... | .version 52 0
.class public super Collections
.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
* Fri Jul 01 20:54:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:54:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,021 |
SurveyItem | /**
* @author KID
*/
public class SurveyItem {
public int ownerId;
public int uniqueId;
public int itemId;
public long count;
public String html, radio;
}
| .version 52 0
.class public super SurveyItem
.super java/lang/Object
.field public ownerId I
.field public uniqueId I
.field public itemId I
.field public count J
.field public html Ljava/lang/String;
.field public radio Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:13: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
* Sun Jul 03 17:13: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;
... | 151,022 |
RoleForm | public class RoleForm {
private String id;
private String name;
private String description;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
public String getName() {
return name;
}
public void setName(String name) {
... | .version 52 0
.class public super RoleForm
.super java/lang/Object
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private description Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:22: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
* Fri Jul 01 17:22: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;
... | 151,023 |
Constants | /** Application constants. */
public final class Constants {
// Regex for acceptable logins
public static final String LOGIN_REGEX = "^[_'.@A-Za-z0-9-]*$";
public static final String SYSTEM_ACCOUNT = "system";
public static final String ANONYMOUS_USER = "anonymoususer";
private Constants() {}
}
| .version 52 0
.class public final super Constants
.super java/lang/Object
.field public static final LOGIN_REGEX Ljava/lang/String; = "^[_'.@A-Za-z0-9-]*$"
.field public static final SYSTEM_ACCOUNT Ljava/lang/String; = 'system'
.field public static final ANONYMOUS_USER Ljava/lang/String; = 'anonymoususer'
.metho... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:40:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:40: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... | 151,024 |
ApplicationExt | /**
* ApplicationExt MapsIndoorsDemo
*
* <p>Created by Jose J Varo on 23-11-2017. Copyright © 2017 MapsPeople A/S. All rights reserved.
*/
public class ApplicationExt {}
| .version 52 0
.class public super ApplicationExt
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:11: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:11: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;
... | 151,025 |
BulkFileBean | public class BulkFileBean {
private String fileType;
private String fileLocation;
private String filePath;
private String outputFolder;
private boolean existHeader;
private String separator;
private String logFilePath;
private String infoFilePath;
private String bkResultFilePath;
/**
* path of b... | .version 52 0
.class public super BulkFileBean
.super java/lang/Object
.field private fileType Ljava/lang/String;
.field private fileLocation Ljava/lang/String;
.field private filePath Ljava/lang/String;
.field private outputFolder Ljava/lang/String;
.field private existHeader Z
.field private separator Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:29:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:29:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,026 |
FastWriter | /*
* 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 ... | .version 52 0
.class public super FastWriter
.super java/io/Writer
.field private static final BUFSIZE I = 8192
.field protected final sink Ljava/io/Writer;
.field protected buf [C
.field protected pos I
.method public <init> : (Ljava/io/Writer;)V
.code stack 4 locals 2
L0: aload_0
L1: aload_1
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:29:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.StringWriter;
import java.io.Writer;
import java.nio.CharBuffer;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:29:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,027 |
StringSequence | /*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | .version 52 0
.class final super StringSequence
.super java/lang/Object
.implements java/lang/CharSequence
.field private final source Ljava/lang/String;
.field private final start I
.field private final end I
.field private hash I
.method <init> : (Ljava/lang/String;)V
.code stack 4 locals 2
L0: alo... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:21:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.stream.IntStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:21: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;
... | 151,028 |
Solution | /*
Самый богатый
*/
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
public class Solution {
public static void main(String[] args) throws IOException {
// args = new String[]{"/Users/pshynin/Desktop/data1.txt"};
BufferedRe... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:47:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.t... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:47: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;
... | 151,029 |
FileInfo | import java.io.Serializable;
public class FileInfo implements Serializable {
public String folder;
public String path;
public String name;
public String type;
public String storage;
public String path_old;
public long modified;
public long size;
}
| .version 52 0
.class public super FileInfo
.super java/lang/Object
.implements java/io/Serializable
.field public folder Ljava/lang/String;
.field public path Ljava/lang/String;
.field public name Ljava/lang/String;
.field public type Ljava/lang/String;
.field public storage Ljava/lang/String;
.field public pa... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:15: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
* Mon Jul 04 06:15:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,030 |
InvalidFrameException | /** Created by Thomas on 24-01-2017. */
public class InvalidFrameException extends RuntimeException {
public InvalidFrameException(String s) {
super(s);
}
}
| .version 52 0
.class public super InvalidFrameException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:44:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:44:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,031 |
Trait | public final class Trait {
private Trait() {}
public static final String RICH = "Wealthy - High probabilities";
public static final String RARE = "Monopoly - Rare resource";
public static final String FACTORY = "Factory - 2:1 resource harbor";
public static final String TRADER = "Trader - 3:1 harbor";
publ... | .version 52 0
.class public final super Trait
.super java/lang/Object
.field public static final RICH Ljava/lang/String; = 'Wealthy - High probabilities'
.field public static final RARE Ljava/lang/String; = 'Monopoly - Rare resource'
.field public static final FACTORY Ljava/lang/String; = 'Factory - 2:1 resource h... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:39:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:39:39 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... | 151,032 |
A | // "Invert 'if' condition" "true"
class A {
// IDEA-153371
public void foo() {
String value = "not-null";
if (value == null) {
return;
}
System.out.println(value);
// Comment gets deleted.
}
}
| .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
.method pu... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:53:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:53:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,033 |
CollectionUtils | import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Useful methods for working with collections.
*
*... | .version 52 0
.class public final super CollectionUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 19
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:35:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.lang.reflect.Array;
import java.util.ArrayDeque;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:35:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,034 |
JoJoThreadFactory | import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicInteger;
public class JoJoThreadFactory implements ThreadFactory {
private static final AtomicInteger poolNumber = new AtomicInteger(1);
private final ThreadGroup group;
private final AtomicInteger threadNumber = new AtomicInteg... | .version 52 0
.class public super JoJoThreadFactory
.super java/lang/Object
.implements java/util/concurrent/ThreadFactory
.field private static final poolNumber Ljava/util/concurrent/atomic/AtomicInteger;
.field private final group Ljava/lang/ThreadGroup;
.field private final threadNumber Ljava/util/concurrent/a... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:06:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:06: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;
... | 151,035 |
DocumentTemplate | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
... | .version 52 0
.class public final super DocumentTemplate
.super java/lang/Object
.field public static final BODY Ljava/lang/String; = [s7]
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:19: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 05:19: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;
... | 151,036 |
TestTreeSetError2 | import java.util.*;
/**
* Description: <br>
* Copyright (C), 2005-2008, Yeeku.H.Lee <br>
* This program is protected by copyright laws. <br>
* Program Name: <br>
* Date:
*
* @author Yeeku.H.Lee kongyeeku@163.com
* @version 1.0
*/
public class TestTreeSetError2 {
public static void main(String[] args) {
... | .version 52 0
.class public super TestTreeSetError2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:05:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:05:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,037 |
Time | public class Time {
private static final long SECOND = 1000000000L;
public static double getTime() {
return (double) System.nanoTime() / (double) SECOND;
}
}
| .version 52 0
.class public super Time
.super java/lang/Object
.field private static final SECOND J = 1000000000L
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:18:39 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.System;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:18: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;
... | 151,038 |
Problem1081 | import java.util.Stack;
/** https://leetcode.com/problems/smallest-subsequence-of-distinct-characters/ */
public class Problem1081 {
public String smallestSubsequence(String text) {
Stack<Integer> stack = new Stack<>();
int[] last = new int[26];
boolean[] visited = new boolean[26];
for (int i = 0; i ... | .version 52 0
.class public super Problem1081
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:42:31 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 10:42: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;
... | 151,039 |
Retangulo | public class Retangulo {
private double largura;
private double altura;
private double perimetro;
private double area;
public Retangulo(double largura, double altura) {
largura = this.largura;
altura = this.altura;
}
public Retangulo() {
this.largura = 0;
this.altura = 0;
}
public ... | .version 52 0
.class public super Retangulo
.super java/lang/Object
.field private largura D
.field private altura D
.field private perimetro D
.field private area D
.method public <init> : (DD)V
.code stack 2 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aloa... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:56:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:56: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;
... | 151,040 |
IconFilter | public class IconFilter {
private Integer IconId = null;
private String IconSetType = null;
/**
* getIconId Gets Integer
*
* @return IconId
*/
public Integer getIconId() {
return IconId;
}
/**
* setIconId Sets Integer
*
* @param IconId Integer
*/
public void setIconId(Integer ... | .version 52 0
.class public super IconFilter
.super java/lang/Object
.field private IconId Ljava/lang/Integer;
.field private IconSetType Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:47:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:47:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,041 |
CustomMapperConfig | /*
* Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | .version 52 0
.class public super CustomMapperConfig
.super java/lang/Object
.field private static final LABEL_REGEX Ljava/lang/String; = '^[a-zA-Z_][a-zA-Z0-9_]+$'
.field private static final LABEL_PATTERN Ljava/util/regex/Pattern;
.field private match Ljava/lang/String;
.field private name Ljava/lang/String;
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:16:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:16:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,042 |
UuidDisplayName | /*
* Copyright 2014 ZerothAngel <zerothangel@tyrannyofheaven.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | .version 52 0
.class public super UuidDisplayName
.super java/lang/Object
.field private final uuid Ljava/util/UUID;
.field private final displayName Ljava/lang/String;
.method public <init> : (Ljava/util/UUID;Ljava/lang/String;)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lan... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:48:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.UUID;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15: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;
... | 151,043 |
ContractItem | import java.io.Serializable;
public class ContractItem implements Serializable {
private static final long serialVersionUID = -7114907930568872859L;
private long typeID;
private String typeName; // not in XML
private long recordID;
private long quantity;
// This attribute will only show up if the quant... | .version 52 0
.class public super ContractItem
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -7114907930568872859L
.field private typeID J
.field private typeName Ljava/lang/String;
.field private recordID J
.field private quantity J
.field private ra... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:53:05 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:53:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,044 |
VolumeStatusAction | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super VolumeStatusAction
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private code Ljava/lang/String;
.field private description Ljava/lang/String;
.field private eventType Ljava/lang/String;
.field private eventId Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:33: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
* Sun Jul 03 21:33: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;
... | 151,045 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.beardedhen.androidbootstrap";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR ... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z
.field public static final APPLICATION_ID Ljava/lang/String; = 'com.beardedhen.androidbootstrap'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLAVOR Ljava... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:50:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:50: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;
... | 151,046 |
Node | public class Node {
public Node next;
public int data;
public Node(int data) {
this.data = data;
}
public Node() {}
}
| .version 52 0
.class public super Node
.super java/lang/Object
.field public next LNode;
.field public data I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Node data I
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:32:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:32:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,047 |
Position | import static java.util.Objects.hash;
/**
* {@code Position} instances contain the row index and the column index for a {@link Cell}.
*
* <p>{@code Position} instances are immutable.
*
* @author Mike Lowe
*/
public final class Position {
private final int rowIndex;
private final int columnIndex;
/**
*... | .version 52 0
.class public final super Position
.super java/lang/Object
.field private final rowIndex I
.field private final columnIndex 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: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:03:27 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:03:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,048 |
AccountLoan | public class AccountLoan {
protected String loan_id;
protected double due_amount;
protected double paid_amount;
protected String startDate;
protected String updateDate;
public AccountLoan() {
this.loan_id = "";
this.due_amount = 0;
this.paid_amount = 0;
this.startDate = "";
this.updateD... | .version 52 0
.class public super AccountLoan
.super java/lang/Object
.field protected loan_id Ljava/lang/String;
.field protected due_amount D
.field protected paid_amount D
.field protected startDate Ljava/lang/String;
.field protected updateDate Ljava/lang/String;
.method public <init> : ()V
.code stac... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:41:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:41: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;
... | 151,049 |
UglyNumberII | import java.util.*;
/**
* Write a program to find the n-th ugly number.
*
* <p>Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2,
* 3, 4, 5, 6, 8, 9, 10, 12 is the sequence of the first 10 ugly numbers.
*
* <p>Note that 1 is typically treated as an ugly number.
*
* <... | .version 52 0
.class public super UglyNumberII
.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 28
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:44: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
* Fri Jul 01 07:44: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;
... | 151,050 |
Args | /*
* ====================================================================
* 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
... | .version 52 0
.class public super Args
.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 32
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:28:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:28: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;
... | 151,051 |
FolderData | public class FolderData {
private String title;
private String subtitle;
private String command;
private String path;
private String banner;
private String parent;
private int date;
private int max;
private int adddate;
private int type;
public String getTitle() {
return title;
}
public... | .version 52 0
.class public super FolderData
.super java/lang/Object
.field private title Ljava/lang/String;
.field private subtitle Ljava/lang/String;
.field private command Ljava/lang/String;
.field private path Ljava/lang/String;
.field private banner Ljava/lang/String;
.field private parent Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:38: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:38: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;
... | 151,052 |
TextCharacter | /*
* Copyright (c) 2009 Piotr Piastucki
*
* This file is part of Patchca CAPTCHA library.
*
* Patchca is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (a... | .version 52 0
.class public super TextCharacter
.super java/lang/Object
.field private x D
.field private y D
.field private width D
.field private height D
.field private ascent D
.field private descent D
.field private character C
.field private font Ljava/awt/Font;
.field private color Ljava/awt/Color;
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:16:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Color;
import java.awt.Font;
import java.awt.geom.AffineTransform;
import java.text.AttributedCharacterIterator;
import org.evosuite.runtime.EvoRunner;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:16:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,053 |
User | import java.util.Calendar;
/**
* User.
*
* <p>Class User for map, lesson 5.
*
* @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).
* @since 14.07.2017.
* @version 1.
*/
public class User {
/** The class field. */
private String name;
/** The class field. */
private int children;
/** The class fiel... | .version 52 0
.class public super User
.super java/lang/Object
.field private name Ljava/lang/String;
.field private children I
.field private birthday Ljava/util/Calendar;
.method public <init> : (Ljava/lang/String;ILjava/util/Calendar;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:14:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Calendar;
import java.util.Locale;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.m... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:14: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;
... | 151,054 |
InputDefaultComesLast | /*
DefaultComesLast
skipIfLastAndSharedWithCase = (default)false
*/
public class InputDefaultComesLast {
void method(int i) {
// switch with last default
switch (i) {
case 1:
break;
case 2:
break;
default:
// do something :)
}
// switch w/o default (not a ... | .version 52 0
.class public super InputDefaultComesLast
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:47:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:47: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;
... | 151,055 |
JSONException | /**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* <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 requir... | .version 52 0
.class public super JSONException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 0L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:28:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:28: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;
... | 151,056 |
Instance | import java.util.ArrayList;
import java.util.List;
/** Holds data for particular instance. */
public class Instance {
public String label;
public List<String> attributes = null;
/** Add attribute values in the order of attributes as specified by the dataset */
public void addAttribute(String i) {
if (att... | .version 52 0
.class public super Instance
.super java/lang/Object
.field public label Ljava/lang/String;
.field public attributes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:41: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 01:41: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;
... | 151,057 |
Clock | /*
* LIMES Core Library - LIMES – Link Discovery Framework for Metric Spaces.
* Copyright © 2011 Data Science Group (DICE) (ngonga@uni-paderborn.de)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Sof... | .version 52 0
.class public super Clock
.super java/lang/Object
.field begin J
.field lastClick J
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: invokestatic Method java/lang/System currentTimeMillis ()J ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:10: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 05:10: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;
... | 151,058 |
NamedEntity | /**
* 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 NamedEntity
.super java/lang/Object
.field private static final NAMED_ENTITY_PATTERN Ljava/util/regex/Pattern;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.line... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:25:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.URI;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:25: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;
... | 151,059 |
Instance | import java.util.ArrayList;
import java.util.List;
/** Holds data for particular instance. */
public class Instance {
public String label;
public List<String> attributes = null;
/** Add attribute values in the order of attributes as specified by the dataset */
public void addAttribute(String i) {
if (att... | .version 52 0
.class public super Instance
.super java/lang/Object
.field public label Ljava/lang/String;
.field public attributes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:22:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:22: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;
... | 151,060 |
Benchmark | public class Benchmark {}
| .version 52 0
.class public super Benchmark
.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
* Sun Jul 03 20:59:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:59: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;
... | 151,061 |
ImageCacheManager | public class ImageCacheManager {}
| .version 52 0
.class public super ImageCacheManager
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:30:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:30: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;
... | 151,062 |
HttpClientThreadFactory | /*******************************************************************************
* Copyright (C) 2020 Push Technology Ltd.
*
* 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.a... | .version 52 0
.class final super HttpClientThreadFactory
.super java/lang/Object
.implements java/util/concurrent/ThreadFactory
.field private final count Ljava/util/concurrent/atomic/AtomicLong;
.method <init> : ()V
.code stack 5 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:08:47 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.MockThread;
import org.junit.runner.Ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:08: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;
... | 151,063 |
Cover | import java.io.Serializable;
/** Created by weixiao-sm on 2017/2/22. 每日封面 */
public class Cover implements Serializable {
public Cover() {}
public Cover(
String publishedAt,
String coverImageUrl,
String publishedAtDesc,
String vedioWho,
String vedioDesc,
String vedioUrl) {
... | .version 52 0
.class public super Cover
.super java/lang/Object
.implements java/io/Serializable
.field private publishedAt Ljava/lang/String;
.field private coverImageUrl Ljava/lang/String;
.field private publishedAtDesc Ljava/lang/String;
.field private vedioWho Ljava/lang/String;
.field private vedioDesc Lja... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:09:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:09: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;
... | 151,064 |
ss | /** Created by Kamil Rogowski on 01.02.2017. */
public class ss {}
| .version 52 0
.class public super ss
.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 meth... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:24:55 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:24:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,065 |
TaskLogFormatter | import java.util.logging.Formatter;
import java.util.logging.LogRecord;
/**
* Custom formatter for logged records from tasks. It simply passes forward the message from log
* record.
*
* @author Tobias Smolka
*/
public class TaskLogFormatter extends Formatter {
@Override
public String format(LogRecord record)... | .version 52 0
.class public super TaskLogFormatter
.super java/util/logging/Formatter
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/util/logging/Formatter <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end line... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:59:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.logging.Level;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.loggin... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:59: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;
... | 151,066 |
DaemonPermission | /*
* 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 final super DaemonPermission
.super java/security/Permission
.field private static final serialVersionUID J = 1L
.field protected static final CONTROL Ljava/lang/String; = 'control'
.field protected static final TYPE_CONTROL I = 1
.field protected static final CONTROL_START Ljava/lang/... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:11:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.security.Permission;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamete... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:11:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,067 |
CreateTrunkFileServerTest | /*
* Copyright 2021 Jim Voris.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | .version 52 0
.class public super CreateTrunkFileServerTest
.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 22
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:37:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:37: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;
... | 151,068 |
NoParametersDefinedException | /*
* Copyright 2014, Enguerrand de Rochefort
*
* This file is part of xdat.
*
* xdat is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ve... | .version 52 0
.class public super NoParametersDefinedException
.super java/lang/Exception
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'No parameters defined.'
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L6: return
L7:
.l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:39:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:39:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,069 |
User | import java.io.Serializable;
public class User implements Serializable {
private Long id;
private String name;
public User(Long id, String name) {
this.id = id;
this.name = name;
}
public Long getId() {
return id;
}
public String getName() {
return name;
}
@Override
public Strin... | .version 52 0
.class public super User
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/Long;
.field private name Ljava/lang/String;
.method public <init> : (Ljava/lang/Long;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:07: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 22:07: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;
... | 151,070 |
OutputMapping | /*
* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.... | .version 52 0
.class public super abstract OutputMapping
.super java/lang/Object
.field protected customMappingEnabled Z
.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_1
L6: putfield Field Outp... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:33: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 07:33:11 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... | 151,071 |
ArrayUtils | /**
* MMLib4J - Mathematical Morphology Library for Java
*
* @author Wonder Alexandre Luz Alves
*/
public class ArrayUtils {
private ArrayUtils() {}
/*-- maxValue() --*/
/**
* Returns the largest value in the array.
*
* @param arr array of #t#
* @return the value
*/
public static int maxVal... | .version 52 0
.class public super ArrayUtils
.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 13
.end linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:29: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 17:29: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;
... | 151,072 |
JsonbFunctions | /*
* Copyright (c) 2004-2022, University of Oslo
* 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 notice, this
* list of cond... | .version 52 0
.class public super JsonbFunctions
.super java/lang/Object
.field public static final HAS_USER_GROUP_IDS Ljava/lang/String; = 'jsonb_has_user_group_ids'
.field public static final CHECK_USER_GROUPS_ACCESS Ljava/lang/String; = 'jsonb_check_user_groups_access'
.field public static final HAS_USER_ID Lja... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:47:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:47:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,073 |
SentimentFeatureGenerator | import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Hashtable;
import java.util.List;
public class Sentim... | .version 52 0
.class public super SentimentFeatureGenerator
.super java/lang/Object
.field private static final BUFFER_LENGTH I = 1000
.field private static final newLine Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:04:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:04: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;
... | 151,074 |
HandleError | /**
* @author raphaelmachadofreire Manipulação de execeções Manipular exceções e continuar Capítulo 10
* - Página 211
*/
import java.util.Random;
public class HandleError {
public static void main(String args[]) {
int a = 0, b = 0, c = 0;
Random r = new Random();
for (int i = 0; i < 3200; i++) {... | .version 52 0
.class public super HandleError
.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
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:46:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:46: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;
... | 151,075 |
SurveyInstanceColumns | /*
* Copyright (C) 2010-2017 Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Flow.
*
* Akvo Flow is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | .version 52 0
.class public super SurveyInstanceColumns
.super java/lang/Object
.field public static final _ID Ljava/lang/String; = '_id'
.field public static final UUID Ljava/lang/String; = 'uuid'
.field public static final SURVEY_ID Ljava/lang/String; = 'survey_id'
.field public static final USER_ID Ljava/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:35:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:35:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,076 |
MathUtils | /** Math util methods. */
public final class MathUtils {
/**
* Compute the number of 1s in a integer when written in binary.
*
* @param v the integer.
* @return the number of 1s.
*/
public static int numBinaryOnesInInteger(final int v) {
int result = 0;
int value = v;
while (value != 0) ... | .version 52 0
.class public final super MathUtils
.super java/lang/Object
.method public static numBinaryOnesInInteger : (I)I
.code stack 3 locals 3
L0: iconst_0
L1: istore_1
L2: iload_0
L3: istore_2
.stack append Integer Integer
L4: iload_2
L5: ifeq L21
L8: iload_1... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:11:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:11:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,077 |
Solution | /** */
public class Solution {
// MIN_VALUE: 10000000000000000000000000000000
// >> 1: 11000000000000000000000000000000
// >>>1: 01000000000000000000000000000000
public String toHex(int num) {
if (num == 0) return "0";
char[] map = "0123456789abcdef".toCharArray();
StringBuilder hex... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:20:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:20:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,078 |
Contract | import java.util.List;
/** Created by hem on 01.06.2017. */
public class Contract {
private List<String> includes;
private List<String> excludes;
public List<String> getIncludes() {
return includes;
}
public void setIncludes(List<String> includes) {
this.includes = includes;
}
public List<Str... | .version 52 0
.class public super Contract
.super java/lang/Object
.field private includes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private excludes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:44:49 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 17:44: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;
... | 151,079 |
JuniperSessionLogParser | /*
* Copyright 2010 NCHOVY
*
* 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 writin... | .version 52 0
.class public super JuniperSessionLogParser
.super java/lang/Object
.field private static final DEVICE_ID Ljava/lang/String; = 'device_id'
.field private static final CategoryHint Ljava/lang/String; = 'system-notification'
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:59:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import ... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:59: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;
... | 151,080 |
UserInfo | public class UserInfo {
public UserInfo() {}
private String userID;
private boolean permissionForIR;
private boolean permissionForTJD;
public String getUserID() {
return userID;
}
public void setUserID(String _userID) {
userID = _userID;
}
public boolean hasIRPermission() {
return per... | .version 52 0
.class public super UserInfo
.super java/lang/Object
.field private userID Ljava/lang/String;
.field private permissionForIR Z
.field private permissionForTJD Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:15: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
* Mon Jul 04 04:15: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;
... | 151,081 |
SqlStringUtil | public class SqlStringUtil {
public static String fixWhitespaces(String sqlString) {
// remove newlines & tabs
sqlString = sqlString.replaceAll("[\\n\\t]", "");
// remove multiple spaces
sqlString = sqlString.replaceAll("[ ]+", " ");
return sqlString;
}
public static String stripName(String... | .version 52 0
.class public super SqlStringUtil
.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
* Sun Jul 03 21:01: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
* Sun Jul 03 21:01: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;
... | 151,082 |
EchoClient | import java.io.*;
import java.net.*;
class EchoClient implements Runnable {
public void run() {
Socket echoSocket = null;
PrintWriter out = null;
BufferedReader in = null;
try {
echoSocket = new Socket("http://localhost:", 7);
out = new PrintWriter(echoSocket.getOutputStream(), true);
... | .version 52 0
.class super EchoClient
.super java/lang/Object
.implements java/lang/Runnable
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:53:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:53: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;
... | 151,083 |
InsufficientBalanceException | public class InsufficientBalanceException extends RuntimeException {
public InsufficientBalanceException() {
super("Insufficient Balance");
}
}
| .version 52 0
.class public super InsufficientBalanceException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'Insufficient Balance'
L3: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L6: return
L7: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:39:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:39: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;
... | 151,084 |
RestoreActiveWindowTest | /*
* Copyright (c) 2007, 2016, 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 RestoreActiveWindowTest
.super java/lang/Object
.implements java/awt/event/ActionListener
.field private static mainFrame Ljava/awt/Frame;
.field private static printDialogButton Ljava/awt/Button;
.field private static pageDialogButton Ljava/awt/Button;
.field private static ins... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:54:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import java.awt.event.ActionEvent;
import org.evosuite.runtime.EvoRunner;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:54: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;
... | 151,085 |
KnapSack | import java.util.ArrayList;
import java.util.List;
/** Created by massimo.biancalani on 10/09/2017. */
public class KnapSack {
private final List<Integer> weights;
private final List<Integer> values;
private final int maxWeight;
private int solution = 0;
private int n;
private boolean isDone = false;... | .version 52 0
.class public super KnapSack
.super java/lang/Object
.field private final weights Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Integer;>;
.end fieldattributes
.field private final values Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Integ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:11:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.List;
import j... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:11: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;
... | 151,086 |
VLCStatusPlaylistEntry | public class VLCStatusPlaylistEntry {
public final String Uri;
public final String Name;
public final int Length;
public VLCStatusPlaylistEntry(String uri, String name, int length) {
Uri = uri;
Name = name;
Length = length;
}
}
| .version 52 0
.class public super VLCStatusPlaylistEntry
.super java/lang/Object
.field public final Uri Ljava/lang/String;
.field public final Name Ljava/lang/String;
.field public final Length I
.method public <init> : (Ljava/lang/String;Ljava/lang/String;I)V
.code stack 2 locals 4
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:59:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:59: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;
... | 151,087 |
JokeBean | /** The object model for the data we are sending through endpoints */
public final class JokeBean {
private String joke;
public String getData() {
return joke;
}
public void setData(final String data) {
joke = data;
}
}
| .version 52 0
.class public final super JokeBean
.super java/lang/Object
.field private joke Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:06:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:06: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;
... | 151,088 |
MyPoint | /*
Ethan R. Jones
18-2-15
MyPoint Class (Base class/ Super class)
*/
public class MyPoint {
private int x;
private int y;
// Default no arguement constructor.
public MyPoint() {}
// Specific Constructor (x,y)
public MyPoint(int x, int y) {
this.x = x;
this.y = y;
}
// Get Functions
p... | .version 52 0
.class public super MyPoint
.super java/lang/Object
.field private x I
.field private y 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 14
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:35: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 09:35: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;
... | 151,089 |
Server | /*
* Copyright (c) 2012-2014 Jakub Białek
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publ... | .version 52 0
.class public super Server
.super java/lang/Object
.field private port I
.field private maximumCapacity I
.field private maximumMemoryCapacity J
.field private binary Z
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:24:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:24: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;
... | 151,090 |
BuildConfig | public class BuildConfig {
// The build system creates a BuildConfig for each flavor/build type combination,
// in a different intermediate directory in the build tree.
// APPLICATION_ID is unique for each combination. The R class is always found
// in the same
public static final String BUILD_TYPE = "type1"... | .version 52 0
.class public super BuildConfig
.super java/lang/Object
.field public static final BUILD_TYPE Ljava/lang/String; = 'type1'
.field public static final FLAVOR Ljava/lang/String; = 'flavor1'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:03:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:03: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;
... | 151,091 |
ZeroedByteArrayEUCTWTest | /*
* Copyright 2008 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 Foundati... | .version 52 0
.class public super ZeroedByteArrayEUCTWTest
.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 30
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:38:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:38: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;
... | 151,092 |
StreamGobbler | /*******************************************************************************
* Copyright (c) 2011, 2016 Eurotech and/or its affiliates
*
* 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 distributi... | .version 52 0
.class super StreamGobbler
.super java/lang/Thread
.field is Ljava/io/InputStream;
.field type Ljava/lang/String;
.field sb Ljava/lang/StringBuilder;
.method public <init> : (Ljava/io/InputStream;Ljava/lang/String;)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:04:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.InputStream;
import java.io.Piped... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:04: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;
... | 151,093 |
Constants | /*
* Licensed to the University of California, Berkeley 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 no... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final KB I = 1024
.field public static final MB I = 1048576
.field public static final GB I = 1073741824
.field public static final TB J = 1099511627776L
.field public static final PB J = 1125899906842624L
.field public sta... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:48:55 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:48:55 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... | 151,094 |
Solution | /**
* 69. <b>Sqrt(x)</b><br>
* Implement int sqrt(int x).<br>
* Compute and return the square root of x.<br>
*/
public class Solution {
/** AC */
public int mySqrt(int x) {
if (x < 2) {
return x;
}
int ceil = x;
int bot = 0;
int cur = ceil / 2;
int flag = 1;
while (true) {
... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:20: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:20:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,095 |
RandomCodeUtil | import java.util.Random;
/**
* 随机数生成
*
* @author star
*/
public class RandomCodeUtil {
public static int BOTH = 0;
public static int UPPER = 1;
public static int LOWER = 2;
public static String getNumber(int length) {
Random r = new Random();
String n = "0123456789";
String code = "";
f... | .version 52 0
.class public super RandomCodeUtil
.super java/lang/Object
.field public static BOTH I
.field public static UPPER I
.field public static LOWER I
.field private static final r [C
.field private static final b C = 111
.field private static final binLen I
.method public <init> : ()V
.code stac... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:14:52 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 18:14: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;
... | 151,096 |
NetUtil | /*
* Copyright (C) 2017 by Fonoster Inc (http://fonoster.com)
* http://github.com/fonoster/astive
*
* This file is part of Astive
*
* 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
*
*... | .version 52 0
.class public final super NetUtil
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 32
L4 33
.end linenumbe... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:16: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 05:16: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;
... | 151,097 |
BKey | /*
* Copyright 2015 LG CNS.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | .version 52 0
.class public super BKey
.super java/lang/Object
.field public date Ljava/lang/String;
.field public blockNum I
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:57:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:57: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;
... | 151,098 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.example.denghaoqin.virtualstock";
public static final String BUILD_TYPE = "debug";
public static final String FLA... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z
.field public static final APPLICATION_ID Ljava/lang/String; = 'com.example.denghaoqin.virtualstock'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLAVOR L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:15: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
* Sat Jul 02 02:15: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;
... | 151,099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.