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 |
|---|---|---|---|---|---|
BigIntegerTest | import java.math.BigDecimal;
import java.math.BigInteger;
public class BigIntegerTest {
public static void main(String[] args) {
float f1 = 123.01f + 2.01f;
// 预期输出:125.02,实际输出:125.020004
System.out.println(f1);
// 预期输出:125.02,实际输出:125.02000000000001
System.out.println(123.01 + 2.01);
System... | .version 52 0
.class public super BigIntegerTest
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:31: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 14:31: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;
... | 131,900 |
Command | public class Command {
private String commandName;
private String jarFile;
private String className;
private String methodName;
private boolean external;
private boolean hidden = false;
/**
* Constructor for the command added by external addons
*
* @param commandName name of the command, the way... | .version 52 0
.class public super Command
.super java/lang/Object
.field private commandName Ljava/lang/String;
.field private jarFile Ljava/lang/String;
.field private className Ljava/lang/String;
.field private methodName Ljava/lang/String;
.field private external Z
.field private hidden Z
.method public <i... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:06:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:06: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;
... | 131,901 |
DummyOutputStream | /* $Id$ */
import java.io.IOException;
import java.io.OutputStream;
/**
* An <code>OutputStream</code> that can be placed on top of any existing <code>java.io.OutputStream
* </code>. It adds statistics and prevents a <code>close</code> from propagating to the streams
* below. You need to use {@link #realClose()} f... | .version 52 0
.class public super DummyOutputStream
.super java/io/OutputStream
.field private static final SUPPORT_STATS Z = 1
.field private out Ljava/io/OutputStream;
.field private count J
.method public <init> : (Ljava/io/OutputStream;)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:59:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:59: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;
... | 131,902 |
SopDto | public class SopDto {
private long id;
private String alias;
private String version;
private String category;
private String url;
private boolean archived;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getAlias() {
return alias;
}
... | .version 52 0
.class public super SopDto
.super java/lang/Object
.field private id J
.field private alias Ljava/lang/String;
.field private version Ljava/lang/String;
.field private category Ljava/lang/String;
.field private url Ljava/lang/String;
.field private archived Z
.method public <init> : ()V
.co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:53: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
* Fri Jul 01 18:53: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;
... | 131,903 |
MulExactICondTest | /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public super MulExactICondTest
.super java/lang/Object
.field public static result 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 34
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:37:03 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 21:37: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;
... | 131,904 |
stackoverflowerror | public class stackoverflowerror {
// Denna kod ska minimeras
public String runCode(String i) {
return "hej" + i;
}
public stackoverflowerror() {
System.out.println(runCode("Hello"));
}
public static void main(String[] args) {
new stackoverflowerror();
}
}
| .version 52 0
.class public super stackoverflowerror
.super java/lang/Object
.method public runCode : (Ljava/lang/String;)Ljava/lang/String;
.code stack 2 locals 2
L0: new java/lang/StringBuilder
L3: dup
L4: invokespecial Method java/lang/StringBuilder <init> ()V
L7: ldc 'hej'
L9: invo... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:13:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:13:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,905 |
Project | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import jav... | .version 52 0
.class public super Project
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 21
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:23:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.file.NoSuchFileException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:23: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;
... | 131,906 |
NQueueProblem | // »ÊºóÎÊÌâµÈ¼ÛÓÚÇóËùÓÐÂú×ãÌõ¼þµÄ×Ó¼¯Ê÷
/*
* »ØËÝ·¨½âN»ÊºóÎÊÌâ
* ʹÓÃÒ»¸öһάÊý×é±íʾ»ÊºóµÄλÖÃ
* ÆäÖÐÊý×éµÄϱê±íʾ»ÊºóËùÔÚµÄÐÐ
* Êý×éÔªËØµÄÖµ±íʾ»ÊºóËùÔÚµÄÁÐ
* ÕâÑùÉè¼ÆµÄÆåÅÌ£¬ËùÓÐ»Êºó±Ø¶¨²»ÔÚͬһÐÐ
*
* ¼ÙÉèǰn-1ÐеĻʺóÒѾ°´ÕÕ¹æÔòÅÅÁкÃ
* ÄÇô¿ÉÒÔʹÓûØËÝ·¨Öð¸öÊÔ³öµÚnÐлʺóµÄºÏ·¨Î»ÖÃ
* ËùÓлʺóµÄ³õʼλÖö... | .version 52 0
.class public super NQueueProblem
.super java/lang/Object
.field private yPos [I
.field private n I
.field private static sum 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: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:34:59 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 16:34:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,907 |
UserV1 | public final class UserV1 {
public String jid;
public String username;
public String name;
public String profilePictureUrl;
}
| .version 52 0
.class public final super UserV1
.super java/lang/Object
.field public jid Ljava/lang/String;
.field public username Ljava/lang/String;
.field public name Ljava/lang/String;
.field public profilePictureUrl Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:35:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:35: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;
... | 131,908 |
Sample4 | import java.util.*;
class Sample4 {
public static void main(String[] args) {
Scanner console = new Scanner(System.in);
while (console.hasNextLine()) {
String line = console.nextLine();
if (line.equals("Prueba 1")) {
System.out.println("Salida 2");
} else if (line.equals("Test A"))... | .version 52 0
.class super Sample4
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end method
.met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:03:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:03: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;
... | 131,909 |
ExpansionLimitMessage | /*
* Copyright 2007 - 2022 Ralf Wisser.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | .version 52 0
.class public super abstract ExpansionLimitMessage
.super javax/swing/JPanel
.field private jLabel1 Ljavax/swing/JLabel;
.field private jLabel2 Ljavax/swing/JLabel;
.field private showAllButton Ljavax/swing/JButton;
.field private showMoreButton Ljavax/swing/JButton;
.method public <init> : (II)V ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 10:59:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 10:59:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 131,910 |
ParsedPropertyKey | /*
* 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")... | .version 52 0
.class public final super ParsedPropertyKey
.super java/lang/Object
.field private _name Ljava/lang/String;
.field private _index I
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:31:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:31: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;
... | 131,911 |
SimplifyPath | import java.util.Arrays;
import java.util.Deque;
import java.util.LinkedList;
public class SimplifyPath {
public static String simplifyPath(String path) {
if (path == null || path.isEmpty()) {
return "";
}
String[] data = path.split("/", -1);
Deque<String> queue = new LinkedList<>();
Arr... | .version 52 0
.class public super SimplifyPath
.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 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:09:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:09: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;
... | 131,912 |
Base64Test | import java.util.Base64;
/** Testing base64 encoding/decoding */
public class Base64Test {
public static void main(String[] args) {
String toconvert = "test";
if (args.length >= 1) {
toconvert = args[0];
}
System.out.println("encoding " + toconvert);
String base64login = new String(Base64.... | .version 52 0
.class public super Base64Test
.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:59:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:59: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;
... | 131,913 |
ObjectNotFoundException | /*
* This file is part of DrFTPD, Distributed FTP Daemon.
*
* DrFTPD is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* DrFTPD... | .version 52 0
.class public super ObjectNotFoundException
.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 31
L4 32
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:53: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 18:53: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;
... | 131,914 |
Description | /*******************************************************************************
* Copyright 2014 Centre for Development of Advanced Computing(C-DAC), Pune
*
* 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 ... | .version 52 0
.class public super Description
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field public static final FSN_TYPE Ljava/lang/String; = '900000000000003001'
.field private id Ljava/lang/String;
.field private status I
.field private con... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:51:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:51:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,915 |
Obj | public class Obj {
public static final int PINE = 1;
public static final int PALM = 2;
public static final int TOWN = 3;
public static final int TOWER = 4;
public static final int GRAVE = 5;
public static final int FARM = 6;
public static final int STRONG_TOWER = 7;
}
| .version 52 0
.class public super Obj
.super java/lang/Object
.field public static final PINE I = 1
.field public static final PALM I = 2
.field public static final TOWN I = 3
.field public static final TOWER I = 4
.field public static final GRAVE I = 5
.field public static final FARM I = 6
.field public stati... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:23:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:23: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;
... | 131,916 |
IntrospectionException | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | .version 52 0
.class public super IntrospectionException
.super java/lang/Exception
.field private static final serialVersionUID J = -3728150539969542619L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <i... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:28:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:28:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,917 |
FileBean | /** 上传文件业务类 */
public class FileBean {
private int fileSize; // 文件大小
private String fileName; // 文件名称
private byte[] fileContent; // 文件byte数组
public int getFileSize() {
return fileSize;
}
public void setFileSize(int fileSize) {
this.fileSize = fileSize;
}
public String getFileName() {
ret... | .version 52 0
.class public super FileBean
.super java/lang/Object
.field private fileSize I
.field private fileName Ljava/lang/String;
.field private fileContent [B
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:51:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:51: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;
... | 131,918 |
DesviacionEstandar | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.List;
/**
* @author COCO
*/
public class DesviacionEstandar {
public List<Double> listasNumeros;
public doub... | .version 52 0
.class public super DesviacionEstandar
.super java/lang/Object
.field public listasNumeros Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Double;>;
.end fieldattributes
.field public mediaAritmetica D
.field public desviacion D
.method public <init> : ()V
.code s... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:35:28 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 12:35: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;
... | 131,919 |
NoSuchMethodException | /*
* TODO Insert description here!
* Copyright (C) 2014 Martin Absmeier, IT Consulting Services
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | .version 52 0
.class public super NoSuchMethodException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -8877979996892420479L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Runtim... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02: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
* Sat Jul 02 02: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;
... | 131,920 |
TagDO | /**
* Copyright (c) 2016 Christophe Gourdin
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law... | .version 52 0
.class public super TagDO
.super java/lang/Object
.field private key Ljava/lang/String;
.field private value Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:30: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 07:30:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,921 |
Quota | public class Quota {
private final boolean upper;
private final double bound;
public Quota(double bound, boolean upper) {
this.bound = bound;
this.upper = upper;
}
public static Quota upperBound(double upperBound) {
return new Quota(upperBound, true);
}
public static Quota lowerBound(doubl... | .version 52 0
.class public super Quota
.super java/lang/Object
.field private final upper Z
.field private final bound D
.method public <init> : (DZ)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Q... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:47: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:47: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;
... | 131,922 |
ArrayInClass | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author mars
*/
public class ArrayInClass {
String test;
private int[] data = new int[3];
ArrayInClass(String TempTest... | .version 52 0
.class public super ArrayInClass
.super java/lang/Object
.field test Ljava/lang/String;
.field private data [I
.method <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_3
L6: new... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:28:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:28: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;
... | 131,923 |
CoinChange | import java.io.*;
import java.util.*;
class CoinChange {
public static void main(String[] args) {
System.out.println("=== Coin Change ===");
Solution solution = new Solution();
int[][] array_coins = {{1, 2, 5}, {2}, {431, 62, 88, 428}, {1}};
int[] array_amount = {11, 3, 9084, 0};
int size = arr... | .version 52 0
.class super CoinChange
.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 5
.end linenumbertable
.end code
.end method
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:10:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:10:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,924 |
HSQLDBConnectionTest | /** */
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
/**
* @author kinder
*/
public class HSQLDBConnectionTest {
/**
* @param args
* @throws SQLException
* @throws ClassNotFoundException
*/
public static void main(String[] args) t... | .version 52 0
.class public super HSQLDBConnectionTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 15
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:08:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:08:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,925 |
Encryption | import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class Encryption {
public static String encryptPassword(String password) {
String generatedPassword = null;
try {
if (null != password && !"".equals(password)) {
// Create MessageDigest instance for MD5
... | .version 52 0
.class public super Encryption
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:04:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:04: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;
... | 131,926 |
TestIO | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class TestIO {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
/**
* InputStreamReader = это поток ввода, преобразующий байты в символы
*
* <p>System.i... | .version 52 0
.class public super TestIO
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:25:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:25: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;
... | 131,927 |
PluginClassLoader | /*
* 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 ma... | .version 52 0
.class public super PluginClassLoader
.super java/net/URLClassLoader
.field private urls [Ljava/net/URL;
.field private lib_jars_list Ljava/util/ArrayList;
.method public <init> : ([Ljava/net/URL;Ljava/lang/ClassLoader;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:20:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.URL;
import java.net.URLClassLoader;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runti... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:20: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;
... | 131,928 |
JAMIOException | import java.io.IOException;
/**
* Exception that can be thrown during the normal operation of the {@link ADSL}.
*
* @author Francesco Santagati
*/
public class JAMIOException extends Exception {
public JAMIOException(IOException exception) {
super(exception);
}
}
| .version 52 0
.class public super JAMIOException
.super java/lang/Exception
.method public <init> : (Ljava/io/IOException;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Throwable;)V
L5: return
L6:
.linenumberta... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:57:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.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
* Mon Jul 04 06:57:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,929 |
GridFSDownloadByNameOptions | /*
* Copyright 2015 MongoDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | .version 52 0
.class public final super GridFSDownloadByNameOptions
.super java/lang/Object
.field private revision I
.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_m1
L6: putfield Field GridFS... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:43:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:43: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;
... | 131,930 |
CreateCachediSCSIVolumeResult | /*
* 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 CreateCachediSCSIVolumeResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private volumeARN Ljava/lang/String;
.field private targetARN Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:58: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
* Mon Jul 04 07:58: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;
... | 131,931 |
OSMMeta | /*
* Copyright (c) 2014, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved.
*/
import java.util.Date;
public class OSMMeta {
public OSMMeta() {}
public Date getOSMBase() {
return _osmBase;
}
public void setOSMBase(Date osmBase) {
_osmBase = osmBase;
}
private Date... | .version 52 0
.class public super OSMMeta
.super java/lang/Object
.field private _osmBase Ljava/util/Date;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:21:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:21: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;
... | 131,932 |
DomekeConstants | public class DomekeConstants {
/** 是否系统管理员 */
public static final String IS_ADMIN = "admin";
/** 加密方式 */
public static final String HASH_ALGORITHM_NAME = "md5";
/** 编码类型 */
public static final String ENCODE = "utf-8";
/** 数据库类型 */
public static final String DB_TYPE = "mysql";
}
| .version 52 0
.class public super DomekeConstants
.super java/lang/Object
.field public static final IS_ADMIN Ljava/lang/String; = 'admin'
.field public static final HASH_ALGORITHM_NAME Ljava/lang/String; = 'md5'
.field public static final ENCODE Ljava/lang/String; = 'utf-8'
.field public static final DB_TYPE Lja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:28: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 08:28: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;
... | 131,933 |
JSMethods | /*
* Copyright (C) 2000-2012 InfoChamp System Corporation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*... | .version 52 0
.class public super JSMethods
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:06:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:06: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;
... | 131,934 |
A | class A {}
class B1<T extends A> {}
class B2<T> {}
class B3<T extends A & Cloneable> {}
class C {
static B1 getB1() {
return new B1();
}
static B2 getB2() {
return new B2();
}
static B3 getB3() {
return new B3();
}
}
| .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 3
.end linenumbertable
.end code
.end method
.sourcefile... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:00: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 03:00: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;
... | 131,935 |
ServerListenThread | /**
* Copyright (c) 2013, agaricus. All rights reserved.
*
* <p>Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* <p>Redistributions of source code must retain the above copyright notice, this list of conditions
* ... | .version 52 0
.class public super ServerListenThread
.super java/lang/Thread
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Thread <init> ()V
L4: return
L5:
.linenumbertable
L0 31
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:37:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:37:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,936 |
Jaison | public class Jaison {
public static void main(String[] args) {
int numA = 8;
int numB = 12;
int suma = numA + numB;
System.out.println(suma);
}
}
| .version 52 0
.class public super Jaison
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:19:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:19:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,937 |
Preconditions | public final class Preconditions {
public static <T> T checkNotNull(final T object, final String parameterName)
throws NullPointerException {
if (object != null) {
return object;
} else {
throw new NullPointerException(parameterName + " must not be null.");
}
}
public static int c... | .version 52 0
.class public final super Preconditions
.super java/lang/Object
.method public static checkNotNull : (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.code stack 4 locals 2
L0: aload_0
L1: ifnull L6
L4: aload_0
L5: areturn
.stack same
L6: new java/lang/N... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:39:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:39:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,938 |
FormActionListener | /*
* Copyright (C) 2013 zyxist
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed... | .version 52 0
.class public super FormActionListener
.super java/lang/Object
.implements java/awt/event/ActionListener
.field private final validatorMethod Ljava/lang/reflect/Method;
.field private final controllerInstance Ljava/lang/Object;
.method public <init> : (Ljava/lang/reflect/Method;Ljava/lang/Object;)V... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:46:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.event.ActionEvent;
import java.lang.reflect.Method;
import org.evosuite.runtime.EvoRunner;
import org... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:46: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;
... | 131,939 |
Calendar | public class Calendar {
public static final int DAYS_PER_WEEK = 7;
public int finalTest() {
final int WEEKS = 70;
return WEEKS;
}
public static void main(String[] args) {
System.out.println(Calendar.DAYS_PER_WEEK);
System.out.println((new Calendar()).finalTest());
}
}
| .version 52 0
.class public super Calendar
.super java/lang/Object
.field public static final DAYS_PER_WEEK I = 7
.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
* Fri Jul 01 23:37:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:37:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,940 |
AppleIMEINumber | /** Created by Yogurt on 16/7/3. */
public class AppleIMEINumber {
public String getAppleIMEINumber() {
return appleIMEINumber;
}
public void setAppleIMEINumber(String appleIMEINumber) {
this.appleIMEINumber = appleIMEINumber;
}
public String getSearchDate() {
return searchDate;
}
public vo... | .version 52 0
.class public super AppleIMEINumber
.super java/lang/Object
.field private appleIMEINumber Ljava/lang/String;
.field private searchDate Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: retur... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:03:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:03:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,941 |
GenreSearchCriteria | /*
This file is part of Subsonic.
Subsonic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Subsonic is distributed in the hope that it will... | .version 52 0
.class public super GenreSearchCriteria
.super java/lang/Object
.field private final count I
.field private final genre Ljava/lang/String;
.field private final genres [Ljava/lang/String;
.field private final fromYear Ljava/lang/Integer;
.field private final toYear Ljava/lang/Integer;
.field privat... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:54: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
* Sun Jul 03 16:54: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;
... | 131,942 |
SlbException | /**
* SLB异常基类
*
* @author mengwenchao
* <p>2014年11月12日 下午4:42:37
*/
public class SlbException extends Exception {
private static final long serialVersionUID = 1L;
public SlbException(String message) {
super(message);
}
public SlbException(String message, Throwable th) {
super(message, th);
... | .version 52 0
.class public super SlbException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:07:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:07:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,943 |
IThread | /*******************************************************************************
* Copyright 2014 Alex Miller
*
* 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.or... | .version 52 0
.class public super abstract IThread
.super java/lang/Thread
.field private cancelled Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Thread <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field IThread cancelled Z
L9... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:00:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:00:02 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... | 131,944 |
EmailVerifierConfig | /*
* Copyright (c) 2005-2010, 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 EmailVerifierConfig
.super java/lang/Object
.field public static final DEFAULT_VALUE_SUBJECT Ljava/lang/String; = 'EmailVerification'
.field public static final DEFAULT_VALUE_MESSAGE Ljava/lang/String; = 'Please point your browser to : '
.field private subject Ljava/lang/String;
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:34:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:34:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,945 |
BuildElements | /*
*
* * (C) Copyright 2016 NUBOMEDIA (http://www.nubomedia.eu)
* *
* * 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
* ... | .version 52 0
.class public super BuildElements
.super java/lang/Object
.field private kind Ljava/lang/String;
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:50:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:50: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;
... | 131,946 |
Main | /*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... | .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 17
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:42:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:43:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,947 |
RegelVerstoss | /*
* Copyright (C) 2007 Danilo Couto, Philippe Eberli,
* Pascal Hobus, Reto Schüttel, Robin Stocker
*
* This file is part of Bodesuri.
*
* Bodesuri is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the ... | .version 52 0
.class public super abstract RegelVerstoss
.super java/lang/Exception
.field private spezifitaet D
.method public <init> : (Ljava/lang/String;)V
.code stack 4 locals 2
L0: aload_0
L1: dconst_0
L2: aload_1
L3: invokespecial Method RegelVerstoss <init> (DLjava/lang/String;)V
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:42: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
* Mon Jul 04 11:42:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 131,948 |
AnagDocumentoFileInfo | /** ======================================================================== */
/** */
/**
* @copyright Copyright (c) 2010-2015, S2S s.r.l.
*/
/**
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License v.2
*/
/**
* @version 6.0
*/
/** This file is part of SdS - Sistema della Sicurezza . */
/** SdS... | .version 52 0
.class public super AnagDocumentoFileInfo
.super java/lang/Object
.field public strName Ljava/lang/String;
.field public strContentType Ljava/lang/String;
.field public strLinkDocument Ljava/lang/String;
.field public lSize J
.field public dtModified Ljava/sql/Date;
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:07:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:07: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;
... | 131,949 |
Geometry | /*
* Geometry where the coordinates are an array of strings
*/
public class Geometry {
public String type;
}
| .version 52 0
.class public super Geometry
.super java/lang/Object
.field public type Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:00: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 05:00: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;
... | 131,950 |
SpellingsDataTemplate | public class SpellingsDataTemplate {
private String mWord;
private String meaning;
public SpellingsDataTemplate(String word, String meaning) {
// TODO Auto-generated constructor stub
this.mWord = word;
this.meaning = meaning;
}
public String getmWord() {
return mWord;
}
public void setm... | .version 52 0
.class public super SpellingsDataTemplate
.super java/lang/Object
.field private mWord Ljava/lang/String;
.field private meaning Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Obj... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:37:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:37:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,951 |
NewEmpty | import java.io.BufferedReader;
import java.io.InputStreamReader;
class NewEmpty {
String tmp = "";
public void getexepth() {
try {
// sleep(5000);
String line;
System.out.println("Get Virus path Called");
Runtime systemShell = Runtime.getRuntime();
Process getpth = systemShell.... | .version 52 0
.class super NewEmpty
.super java/lang/Object
.field tmp Ljava/lang/String;
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc ''
L7: putfield Field NewEmpty tmp Ljava/lang/String;
L10: ret... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:22:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:22:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,952 |
UniqueIdGenerator | import java.util.UUID;
import java.util.concurrent.atomic.AtomicLong;
public class UniqueIdGenerator {
// TODO rename getNewId()
public static String getId() {
String uniqueID = UUID.randomUUID().toString();
uniqueID = uniqueID.replaceAll("-", "");
// ADD UNIQUE SERVER COMPONENT
uniqueID = "l1s1" +... | .version 52 0
.class public super UniqueIdGenerator
.super java/lang/Object
.field private id Ljava/util/concurrent/atomic/AtomicLong;
.method public <init> : ()V
.code stack 5 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/util/concurren... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:36:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:36: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;
... | 131,953 |
ReflectionUtils | /*
* This file is part of Log4Jdbc.
*
* Log4Jdbc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Log4Jdbc is distributed in... | .version 52 0
.class public final super ReflectionUtils
.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 33
L4 34
.end l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:32: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 05:32: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;
... | 131,954 |
NewClass | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Regateiro
*/
public class NewClass {}
| .version 52 0
.class public super NewClass
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:51:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:51: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;
... | 131,955 |
Thread1 | import java.text.SimpleDateFormat;
import java.util.Date;
public class Thread1 extends Thread {
public static void main(String[] args) {
Thread2 d = new Thread2();
d.start();
Date D = new Date();
SimpleDateFormat bartDateFormat = new SimpleDateFormat("EEEE-MMMM-dd-yyyy");
for (int i = 0; i < 10... | .version 52 0
.class public super Thread1
.super java/lang/Thread
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Thread <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:28:29 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 00:28: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;
... | 131,956 |
Solution | class Solution {
public int distanceBetweenBusStops(int[] distance, int start, int destination) {
int cd = 0;
int ccd = 0;
if (start > destination) {
int temp = destination;
destination = start;
start = temp;
}
for (int i = 0; i < distance.length; i++) {
if (start <= i && d... | .version 52 0
.class super Solution
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end method
.me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:45:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:45:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,957 |
Artist | import java.util.ArrayList;
public class Artist {
private static ArrayList<Artist> instances = new ArrayList<Artist>();
private final String mName;
private int mId;
// CONSTRUCTOR
public Artist(String name) {
mName = name;
instances.add(this);
mId = instances.size();
}
// STATIC METHODS
... | .version 52 0
.class public super Artist
.super java/lang/Object
.field private static instances Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<LArtist;>;
.end fieldattributes
.field private final mName Ljava/lang/String;
.field private mId I
.method public <init> : (Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:33:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
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 17:33: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;
... | 131,958 |
Shuffle | /** Shuffle algoritm. */
public class Shuffle {
/* ------------------------
Class variables
* ------------------------ */
/** Number of elements to shuffle. */
private int numOE;
/** Array for internal storage of the order. */
private int[] order;
/* ------------------------
Constructors
* -... | .version 52 0
.class public super Shuffle
.super java/lang/Object
.field private numOE I
.field private order [I
.method public <init> : (I)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Shuffle num... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:18:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:18: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;
... | 131,959 |
DataGenerator | public class DataGenerator {}
| .version 52 0
.class public super DataGenerator
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:37: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 15:37: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;
... | 131,960 |
YagoPreprocessing | /**
* Linkipedia, Copyright (c) 2015 Tetherless World Constellation
*
* <p>This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later versi... | .version 52 0
.class public super YagoPreprocessing
.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
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:29:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Hashtable;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:29:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,961 |
Type | /**
* Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable.
*
* <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-... | .version 52 0
.class public super Type
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final nestedType LType;
.field private final primitive Z
.field private static final primitives Ljava/util/Set;
.method public static newSimpleType : (Ljava/lang/String;)LType;
.code s... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:21:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:21: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;
... | 131,962 |
ValidationException | public class ValidationException extends Exception {
public ValidationException(String message) {
super(message);
}
}
| .version 52 0
.class public super ValidationException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:25:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:25: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;
... | 131,963 |
Harjoitus1T4 | import java.util.Scanner;
/*
Tehtävä 4
Määrittele opintotuki vakioksi (nimetty vakio), jonka arvo on 298 euroa.
Tee ohjelma, joka kysyy käyttäjältä vuokran ja asumislisän. Ohjelma tulostaa paljonko käyttäjälle jää
opintotuesta ja asumislisästä rahaa käyttöön vuokran maksun jälkeen.
Ohjelman suoritus voi näyttää seura... | .version 52 0
.class public super Harjoitus1T4
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 17
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:10:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:10:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,964 |
Foo | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
class Foo {
public void bar_packed(int n) {
switch (n) {
case 1:
System.out.print("1");
break;
... | .version 52 0
.class super Foo
.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 9
.end linenumbertable
.end code
.end method
.method ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:28: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:28:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,965 |
StoreInts | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class StoreInts {
public static void main(String[] args) {
List<Integer> newList = new ArrayList<Integer>();
Scanner scanner = new Scanner(System.in);
int num = 1;
// Add each number the user enters to a list until ... | .version 52 0
.class public super StoreInts
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:07:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:07: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;
... | 131,966 |
Config | public class Config {
static final String bitlyApiKey = "YOUR_BITLY_API_KEY_GOES_HERE";
static final String twChitterScreenName = "YOUR_BOTS_TWITTER_ACCOUNT_GOES_HERE";
static final String twChitterToken = "YOUR_BOTS_TWITTER_TOKEN_GOES_HERE";
static final String twChitterSecret = "YOUR_BOTS_TWITTER_SECRET_G... | .version 52 0
.class public super Config
.super java/lang/Object
.field static final bitlyApiKey Ljava/lang/String; = 'YOUR_BITLY_API_KEY_GOES_HERE'
.field static final twChitterScreenName Ljava/lang/String; = 'YOUR_BOTS_TWITTER_ACCOUNT_GOES_HERE'
.field static final twChitterToken Ljava/lang/String; = 'YOUR_BOTS_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:20: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 20:20: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;
... | 131,967 |
NullCreate | /*
* Copyright 1998 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 NullCreate
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:27: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
* Mon Jul 04 16:27: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;
... | 131,968 |
CommonProxy | /**
* Common Proxy
*
* @author mvinet
*/
public class CommonProxy {
/** Register Render */
public void registerRender() {}
}
| .version 52 0
.class public super CommonProxy
.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
* Sun Jul 03 23:40: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 23:40: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;
... | 131,969 |
CommonInfoConstant | /**
* @author xuwangcheng
* @version 1.0.0.0,20170426
*/
public class CommonInfoConstant {
public static final String LIST_COMMON_INFO = "list";
public static final String EDIT_COMMON_INFO = "edit";
public static final String DEL_COMMON_INFO = "del";
public static final String GET_COMMON_INFO = "get";
... | .version 52 0
.class public super CommonInfoConstant
.super java/lang/Object
.field public static final LIST_COMMON_INFO Ljava/lang/String; = 'list'
.field public static final EDIT_COMMON_INFO Ljava/lang/String; = 'edit'
.field public static final DEL_COMMON_INFO Ljava/lang/String; = 'del'
.field public static fi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:35:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:35: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;
... | 131,970 |
HeartOfTheMachine | /*
* 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 m... | .version 52 0
.class public super HeartOfTheMachine
.super java/lang/Object
.field private soul Ljava/lang/String;
.method private <init> : ()V
.code stack 5 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc 'SOUL'
L7: invokestatic Method ja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:03:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:03: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;
... | 131,971 |
TestValues | /**
* Copyright 2018 the original author or authors
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applic... | .version 52 0
.class public final super TestValues
.super java/lang/Object
.field public static final PLAYER_A Ljava/lang/String; = 'player_A_affinity'
.field public static final PLAYER_B Ljava/lang/String; = 'player_B_affinity'
.field public static final PLAYER_C Ljava/lang/String; = 'player_C_affinity'
.method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:27: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
* Sat Jul 02 21:27:05 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... | 131,972 |
ReportItem | /*
* JBoss, Home of Professional Open Source.
* See the COPYRIGHT.txt file distributed with this work for information
* regarding copyright ownership. Some portions may be licensed
* to Red Hat, Inc. under one or more contributor license agreements.
*
* This library is free software; you can redistribute it and/... | .version 52 0
.class public super ReportItem
.super java/lang/Object
.implements java/io/Serializable
.field private type Ljava/lang/String;
.field private message Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:01: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
* Sat Jul 02 15:01: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;
... | 131,973 |
RefReentrantReadWriteLock | /*
* Copyright (C) 2015 HaiYang Li
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | .version 52 0
.class public super RefReentrantReadWriteLock
.super java/util/concurrent/locks/ReentrantReadWriteLock
.field private static final serialVersionUID J = 8951250203376524845L
.field private final refCount Ljava/util/concurrent/atomic/AtomicInteger;
.method public <init> : ()V
.code stack 3 locals... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:57: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 20:57: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;
... | 131,974 |
Work | /**
* @author Rav, date: 07.04.2018
* @version 1.0
*/
public class Work {
/** ID работы. */
private int id;
/**
* @param id работы.
*/
public Work(int id) {
this.id = id;
}
/** Метод работы. */
public void begin() {
System.out.println(String.format("%s runs Work# %d", Thread.currentThre... | .version 52 0
.class public super Work
.super java/lang/Object
.field private id 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 Work id I
L9: return
L10:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:08: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 19:08: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;
... | 131,975 |
OioServer | import java.io.IOException;
import java.io.InputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class OioServer {
public static void main(String[] args) throws Exception {
ExecutorService newCachedThreadPool... | .version 52 0
.class public super OioServer
.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 11:00:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Proxy;
import org.evosuite.runtime.Evo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:00: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;
... | 131,976 |
SearchPhoneNumbers | import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
class SearchPhoneNumbers {
private final HashMap<String, ArrayList<String>> map = new HashMap<>();
SearchPhoneNumbers() {
map.put("Иванов И.И.", new ArrayList<>(Arrays.asList("+8 800 2000 500", "+8 800 2000 600")));
map.put("Пе... | .version 52 0
.class super SearchPhoneNumbers
.super java/lang/Object
.field private final map Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/util/ArrayList<Ljava/lang/String;>;>;
.end fieldattributes
.method <init> : ()V
.code stack 8 locals 1
L0: aload_... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:16:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:16: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;
... | 131,977 |
ProteinDetailUtils | import java.util.List;
/** User: ntoro Date: 09/07/2014 Time: 16:23 */
public class ProteinDetailUtils {
public static final String NAME = "NAME####";
public static String extractInformationByType(List<String> description, String type) {
String info = null;
if (description != null) {
for (String ... | .version 52 0
.class public super ProteinDetailUtils
.super java/lang/Object
.field public static final NAME Ljava/lang/String; = 'NAME####'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:01:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:01: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;
... | 131,978 |
FizzBuzz | public class FizzBuzz {
public String getResult(int number) {
if (isDivisibleBy3(number) && isDivisibleBy5(number)) return "FizzBuzz";
if (isDivisibleBy5(number)) return "Buzz";
else if (isDivisibleBy3(number)) return "Fizz";
return Integer.toString(number);
}
private boolean isDivisibleBy5(int ... | .version 52 0
.class public super FizzBuzz
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:30:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:30: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;
... | 131,979 |
Player | public class Player {}
| .version 52 0
.class public super Player
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:56:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:56:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,980 |
PatelRecord | public class PatelRecord {
private String tid;
private int gid;
private double time;
private String clazz;
private double longitude;
private double latitude;
private Integer stop;
private Integer move;
public PatelRecord(
String tid,
int gid,
double time,
String clazz,
... | .version 52 0
.class public super PatelRecord
.super java/lang/Object
.field private tid Ljava/lang/String;
.field private gid I
.field private time D
.field private clazz Ljava/lang/String;
.field private longitude D
.field private latitude D
.field private stop Ljava/lang/Integer;
.field private move Ljava/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:03:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:03:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,981 |
A | class A {
long much = (long) (2 * Integer.MAX_VALUE) * Integer.MAX_VALUE;
}
| .version 52 0
.class super A
.super java/lang/Object
.field much J
.method <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc2_w -4294967294L
L8: putfield Field A much J
L11: return
L12:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:10: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 19:10: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;
... | 131,982 |
SearchEntry | public class SearchEntry {
public boolean firstLanguageSelected;
public boolean phoneticScriptSelected;
public boolean secondLanguageSelected;
public boolean topicSelected;
public boolean chapterSelecter;
public boolean learnLevelSelected;
public boolean relevanceSelected;
public boolean descriptionSel... | .version 52 0
.class public super SearchEntry
.super java/lang/Object
.field public firstLanguageSelected Z
.field public phoneticScriptSelected Z
.field public secondLanguageSelected Z
.field public topicSelected Z
.field public chapterSelecter Z
.field public learnLevelSelected Z
.field public relevanceSelec... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:04: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
* Mon Jul 04 06:04: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;
... | 131,983 |
AppCalendar | import java.util.GregorianCalendar;
public class AppCalendar {
public long now() {
return new GregorianCalendar().getTimeInMillis();
}
}
| .version 52 0
.class public super AppCalendar
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:50:12 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
* Fri Jul 01 18:50: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;
... | 131,984 |
JGivenInstallationException | public class JGivenInstallationException extends RuntimeException {
private static final long serialVersionUID = 1L;
public JGivenInstallationException(String message) {
super(message);
}
public JGivenInstallationException(String message, Throwable cause) {
super(
message
+ ".\n"
... | .version 52 0
.class public super JGivenInstallationException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <i... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:17: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
* Sun Jul 03 16:17: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;
... | 131,985 |
Fenwick3 | /** Created by petuh on 1/30/2016. */
public class Fenwick3 {
int w;
int h;
int d;
long[][][] data;
public Fenwick3(int w, int h, int d) {
this.w = w;
this.h = h;
this.d = d;
data = new long[w][h][d];
}
public Fenwick3(long[][][] data) {
this.data = data;
this.w = data.length;
... | .version 52 0
.class public super Fenwick3
.super java/lang/Object
.field w I
.field h I
.field d I
.field data [[[J
.method public <init> : (III)V
.code stack 4 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Fen... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:49:49 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 13:49: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;
... | 131,986 |
FileSplitterv2 | /**
* @author tuliopa
*/
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.List;
public class FileSplitterv2 {
private static final String dir = "/tmp/";
private sta... | .version 52 0
.class public super FileSplitterv2
.super java/lang/Object
.field private static final dir Ljava/lang/String; = '/tmp/'
.field private static final suffix Ljava/lang/String; = '.splitPart'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lan... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:19:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:19:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,987 |
BusStop | public class BusStop implements Comparable<BusStop> {
static int nextId = 0;
int id;
String name;
String officialName;
String description;
public BusStop() throws Exception {
id = nextId++;
if (id > Byte.MAX_VALUE) throw new Exception("BusStop ID exceed store size");
}
public int compareTo(Bu... | .version 52 0
.class public super BusStop
.super java/lang/Object
.implements java/lang/Comparable
.field static nextId I
.field id I
.field name Ljava/lang/String;
.field officialName Ljava/lang/String;
.field description Ljava/lang/String;
.method public <init> : ()V
.code stack 4 locals 1
L0: alo... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:58:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:58: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;
... | 131,988 |
GZips | /*
* Copyright (c) 2013 ITOCHU Techno-Solutions Corporation.
*
* 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... | .version 52 0
.class public final super GZips
.super java/lang/Object
.field public static final ACCEPT_ENCODING Ljava/lang/String; = 'Accept-Encoding'
.field public static final ENCODING_GZIP Ljava/lang/String; = 'gzip'
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespec... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:34: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 18:34: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... | 131,989 |
PowerDigitSum | import java.math.BigInteger;
/**
* 01/18/2016 PowerDigitSum.java Power Digit Sum
*
* @author Scott Wiedemann
*/
public class PowerDigitSum {
public static void main(String[] args) {
if (args.length != 1) {
System.err.println("Incorrect number of arguments.");
System.err.println("Usage: ./powerdi... | .version 52 0
.class public super PowerDigitSum
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:21:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:21: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;
... | 131,990 |
CustomQuartzProcessorNotFoundException | public class CustomQuartzProcessorNotFoundException extends Exception {}
| .version 52 0
.class public super CustomQuartzProcessorNotFoundException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:07:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:07: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;
... | 131,991 |
Action | /** */
import java.io.PrintWriter;
/**
* An action to be made on a source file such as inserting a ';', declaring a variable, etc.
*
* @author José
*/
public abstract class Action implements Comparable<Action> {
@Override
public int compareTo(Action other) {
if (posInFile < other.posInFile) return -1;
... | .version 52 0
.class public super abstract Action
.super java/lang/Object
.implements java/lang/Comparable
.field protected posInFile I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:43:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:43:49 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... | 131,992 |
AvroEvolutionWiden | /*
* Copyright 2016 Landoop.
*
* 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 writ... | .version 52 0
.class super AvroEvolutionWiden
.super java/lang/Object
.field static EVOLUTION_WIDEN_INITIAL_SCHEMA Ljava/lang/String;
.field static EVOLUTION_WIDEN_TOLONG_SCHEMA Ljava/lang/String;
.method <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 16:16:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:16:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,993 |
EmailException | public class EmailException extends Exception {
private static final long serialVersionUID = 1L;
public EmailException(Throwable cause) {
super(cause);
}
public EmailException(String message, Throwable cause) {
super(message, cause);
}
}
| .version 52 0
.class public super EmailException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Throwab... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:41:57 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 15:41: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;
... | 131,994 |
RegularExpression | import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class RegularExpression {
private String expression;
public static List<Character> terminals =
Arrays.asList(
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r',
's', ... | .version 52 0
.class public super RegularExpression
.super java/lang/Object
.field private expression Ljava/lang/String;
.field public static terminals Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Character;>;
.end fieldattributes
.field public static final OPTIONAL Ljava/lang/Char... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:26: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 22:26: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;
... | 131,995 |
ResponseVoResultCode | /**
* @Date : 2015-9-17 @From : stat @Author : luanx@wantdo.com
*/
public class ResponseVoResultCode {
public static final int CODE_SUCCESS = 100;
public static final int CODE_PARAM_ERROR = 200;
public static final int CODE_AUTHORITY_ERROR = 300;
public static final int CODE_NO_USER_ERROR = 301;
public sta... | .version 52 0
.class public super ResponseVoResultCode
.super java/lang/Object
.field public static final CODE_SUCCESS I = 100
.field public static final CODE_PARAM_ERROR I = 200
.field public static final CODE_AUTHORITY_ERROR I = 300
.field public static final CODE_NO_USER_ERROR I = 301
.field public static fin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:35:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:35: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;
... | 131,996 |
Loops | import java.util.ArrayList;
import java.util.List;
public class Loops {
public static void main(String... args) {
{
int i = 1;
do System.out.println(i + " boring");
while (i++ < 5);
}
// write the previous do-while-loop as a for-loop
for (int i = 1; i < 5; i++) System.out.println(i... | .version 52 0
.class public super Loops
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:41: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
* Fri Jul 01 08:41: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;
... | 131,997 |
UniquePaths | /** Created by fuliang on 2015/4/22. */
public class UniquePaths {
public int uniquePaths(int m, int n) {
int[][] nums = new int[m][n];
for (int i = 0; i < nums.length; i++) {
nums[i][0] = 1;
}
for (int j = 0; j < nums[0].length; j++) {
nums[0][j] = 1;
}
for (int i = 1; i < m; i+... | .version 52 0
.class public super UniquePaths
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:39:37 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: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;
... | 131,998 |
SMSNotificationPluginConfigurationException | public class SMSNotificationPluginConfigurationException extends RuntimeException {
private static final long serialVersionUID = 7003069975082721295L;
public SMSNotificationPluginConfigurationException(String pMessage) {
super(pMessage);
}
}
| .version 52 0
.class public super SMSNotificationPluginConfigurationException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 7003069975082721295L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:52:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:52:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 131,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.