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 |
|---|---|---|---|---|---|
Test124 | /** Created by zhang on 2017/2/19. */
public class Test124 {
public static void main(String[] args) {
String str1 = "Hello";
String str2 = str1;
str1 = "World";
System.out.println(str1);
System.out.println(str2);
}
}
| .version 52 0
.class public super Test124
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:41:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:41: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;
... | 149,400 |
MyQueue | import java.util.Stack;
/** 7.1两个栈实现队列 */
public class MyQueue {
private Stack<Integer> stack1 = new Stack<Integer>();
private Stack<Integer> stack2 = new Stack<Integer>();
public void appendTail(Integer a) {
stack1.push(a);
}
public Integer deleteHead() throws Exception {
if (stack2.isEmpty()) {
... | .version 52 0
.class public super MyQueue
.super java/lang/Object
.field private stack1 Ljava/util/Stack; .fieldattributes
.signature Ljava/util/Stack<Ljava/lang/Integer;>;
.end fieldattributes
.field private stack2 Ljava/util/Stack; .fieldattributes
.signature Ljava/util/Stack<Ljava/lang/Integer;>;
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:08: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
* Sat Jul 02 02:08:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,401 |
LocalIO | /*
* 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 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
*... | .version 52 0
.class public super LocalIO
.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
* Mon Jul 04 16:22:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:22: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;
... | 149,402 |
WeixinPropertyRead | import java.io.InputStream;
import java.util.Properties;
/** 创建时间:2016年8月16日 作者:whai888 功能描述:微信属性文件读取 */
public class WeixinPropertyRead {
private static Properties prop = new Properties(); // 属性集合对象
private static String FILE_NAME = "weixin.properties"; // 属性文件
static {
try {
InputStream fis =
... | .version 52 0
.class public super WeixinPropertyRead
.super java/lang/Object
.field private static prop Ljava/util/Properties;
.field private static FILE_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: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:36: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
* Sun Jul 03 20:36:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,403 |
ProtocolException | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super ProtocolException
.super java/lang/Exception
.implements java/io/Serializable
.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 30... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:00:58 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
* Fri Jul 01 05:00:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,404 |
Data | /** Created by Nyaruhodo on 11.06.2016. */
public class Data {
public String name;
public String id;
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Data data = (Data) o;
if (name != null ? !name.equals(data.n... | .version 52 0
.class public super Data
.super java/lang/Object
.field public name Ljava/lang/String;
.field public id 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:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:53:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:53:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,405 |
Utils | import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.util.List;
/**
* Utilities for manipulations of data relevant for this package.
*
* @author James Li
*/
class Utils {
/**
* Converts from `short` to byte array.
*
* <p>Code based from <a href=
* "http://www.java2s.co... | .version 52 0
.class super Utils
.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 10
.end linenumbertable
.end code
.end method
.meth... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:54:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:54:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,406 |
SomeDiffClass | public class SomeDiffClass {
SomeDiffClass someDiffClass;
SomeDiffClass fSomeDiffClass;
SomeDiffClass someDiffClassSuf1;
SomeDiffClass fSomeDiffClassSuf1;
/**
* @return Returns the someDiffClass.
*/
public SomeDiffClass getSomeDiffClass() {
return fSomeDiffClass;
}
/**
* @param someDiffCla... | .version 52 0
.class public super SomeDiffClass
.super java/lang/Object
.field someDiffClass LSomeDiffClass;
.field fSomeDiffClass LSomeDiffClass;
.field someDiffClassSuf1 LSomeDiffClass;
.field fSomeDiffClassSuf1 LSomeDiffClass;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:52:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:52:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,407 |
TestSQLDataImpl | /*
* Copyright (c) 2014, 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 TestSQLDataImpl
.super java/lang/Object
.implements java/sql/SQLData
.field private final stringPos I = 0
.field private final datePos I = 1
.field private final timePos I = 2
.field private final timestampPos I = 3
.field private final intPos I = 4
.field private final longPo... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:18:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.sql.SQLInput;
import java.util.HashMap;
import java.util.Vector;
import javax.sql.rowset.serial.SQLOutput... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:18:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,408 |
App | /** Hello world! */
public class App {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
| .version 52 0
.class public super App
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:02:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:02:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,409 |
WindowsSaveDirctories | import java.io.File;
public class WindowsSaveDirctories {
private static String WinChanFolderPath =
"C:\\Users\\" + System.getProperty("user.name") + "\\AppData\\Roaming\\subaChan";
private static String ImageFolderPath =
"C:\\Users\\" + System.getProperty("user.name") + "\\AppData\\Roaming\\subaChan... | .version 52 0
.class public super WindowsSaveDirctories
.super java/lang/Object
.field private static WinChanFolderPath Ljava/lang/String;
.field private static ImageFolderPath Ljava/lang/String;
.field private static ThumbnailFolderPath Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:58:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:58:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,410 |
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
* Sun Jul 03 22:37:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:37:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,411 |
Dates | import java.time.LocalDate;
import java.time.Month;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.concurrent.ThreadLocalRandom;
public class Dates {
public static final int MILLISECOND = Calendar.MILLISECOND;
public static final int SECOND = Calendar.SECOND;... | .version 52 0
.class public super Dates
.super java/lang/Object
.field public static final MILLISECOND I = 14
.field public static final SECOND I = 13
.field public static final MINUTE I = 12
.field public static final HOUR I = 10
.field public static final HOUR_OF_DAY I = 11
.field public static final DATE I =... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:14:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.Clock;
import java.time.Instant;
import java.time.ZoneOffset;
import java.util.Date;
import org.evos... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:14:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,412 |
QuickSelect | public class QuickSelect {
/**
* Quick select algorithm
*
* @param arr
* @param left
* @param right
* @param k
* @return
*/
public int quickSelect(Integer[] arr, int left, int right, int k) {
if (k >= 0 && k <= right - left + 1) {
int pos = partition(arr, left, right);
if (po... | .version 52 0
.class public super QuickSelect
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:53:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:53: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;
... | 149,413 |
dummy | public class dummy {}
| .version 52 0
.class public super dummy
.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 m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:47:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:47:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,414 |
Type | import java.awt.*;
/** Created by cameronmonks on 11/7/14. */
/** Presses the buttons on a keyboard to write out stuff */
public class Type {
// Default constructor
Robot robot;
/**
* Defualt Constructor
*
* @throws java.awt.AWTException
*/
public Type() throws AWTException {
robot = new Rob... | .version 52 0
.class public super Type
.super java/lang/Object
.field robot Ljava/awt/Robot;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/awt/Robot
L8: dup
L9: invokespecial Method jav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:47:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.AWTException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:47:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,415 |
MutableLong | /*
* 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 MutableLong
.super java/lang/Object
.field private val J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
L4 25
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:40:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:40:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,416 |
InvalidMatrixException | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public super InvalidMatrixException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 5318837237354354107L
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: aconst_null
L2: invokespecial Method InvalidMatrixException <init> ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:30:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:30:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,417 |
InvalidModelTypeException | /** Thrown when a request model type is not configured. */
public class InvalidModelTypeException extends RuntimeException {
public InvalidModelTypeException() {}
public InvalidModelTypeException(String s) {
super(s);
}
public InvalidModelTypeException(String s, Throwable throwable) {
super(s, throwab... | .version 52 0
.class public super InvalidModelTypeException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 7
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:54: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 11:54:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,418 |
Constants | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final SERVER_ADDRESS Ljava/lang/String; = 'requestUrl'
.field public static final ACCOUNT_TYPE Ljava/lang/String; = 'org.xwiki.android.authenticator'
.field public static final AUTHTOKEN_TYPE_READ_ONLY Ljava/lang/String; = 'Re... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:39:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:39:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,419 |
ClienteEntity | import java.io.Serializable;
public class ClienteEntity implements Serializable {
private static final long serialVersionUID = 1L;
private Long cedula;
private String nombre;
private String apellido;
private String correo;
private String telefono;
private String direccion;
private Long id;
public L... | .version 52 0
.class public super ClienteEntity
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private cedula Ljava/lang/Long;
.field private nombre Ljava/lang/String;
.field private apellido Ljava/lang/String;
.field private correo Ljava/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:08:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:08:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,420 |
DataModelerFeatures | /*
* Copyright 2014 JBoss 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 super DataModelerFeatures
.super java/lang/Object
.field public static final EDIT_SOURCES Ljava/lang/String; = 'wb_data_modeler_edit_sources'
.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 04:30:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:30:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,421 |
Point | public class Point {
private double x;
private double y;
public Point(double x, double y) {
this.x = x;
this.y = y;
}
public double distance(Point other) {
return Math.sqrt(Math.pow(this.x - other.getX(), 2.0) + Math.pow(this.y - other.getY(), 2.0));
}
public double getX() {
return x;
... | .version 52 0
.class public super Point
.super java/lang/Object
.field private x D
.field private y D
.method public <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Point x D
L9: al... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:31:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:31:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,422 |
OnlineSession | /**
* @author : lihaoquan
*/
public class OnlineSession {}
| .version 52 0
.class public super OnlineSession
.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 13:17: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 13:17:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,423 |
BuildContext | /*
* Copyright (c) 2012-2018 Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | .version 52 0
.class public super BuildContext
.super java/lang/Object
.field private context Ljava/lang/String;
.field private dockerfile Ljava/lang/String;
.field private args Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.method pu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:28:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:28:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,424 |
EmptyIterator | // $Id: EmptyIterator.java 3890 2004-06-03 16:31:32Z steveebersole $
import java.util.Iterator;
/**
* @author Gavin King
*/
public final class EmptyIterator implements Iterator {
public static final Iterator INSTANCE = new EmptyIterator();
public boolean hasNext() {
return false;
}
public Object next... | .version 52 0
.class public final super EmptyIterator
.super java/lang/Object
.implements java/util/Iterator
.field public static final INSTANCE Ljava/util/Iterator;
.method public hasNext : ()Z
.code stack 1 locals 1
L0: iconst_0
L1: ireturn
L2:
.linenumbertable
L0 14
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:49:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Iterator;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:49: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;
... | 149,425 |
TableName | public class TableName {
public String tableName = null;
public String tableNameAlias = null;
}
| .version 52 0
.class public super TableName
.super java/lang/Object
.field public tableName Ljava/lang/String;
.field public tableNameAlias Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:26: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
* Fri Jul 01 14:26: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;
... | 149,426 |
NewSpecExample57 | /*
* jaspex-mls: a Java Software Speculative Parallelization Framework
* Copyright (C) 2015 Ivo Anjo <ivo.anjo@ist.utl.pt>
*
* This file is part of jaspex-mls.
*
* jaspex-mls 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... | .version 52 0
.class public super NewSpecExample57
.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 62
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:51:10 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: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;
... | 149,427 |
MyRuntimeException | /**
* 自定义异常
*
* @author fengjx
*/
public class MyRuntimeException extends RuntimeException {
private static final long serialVersionUID = -5710488447295073398L;
public MyRuntimeException() {}
public MyRuntimeException(String message) {
super(message);
}
public MyRuntimeException(Throwable throwabl... | .version 52 0
.class public super MyRuntimeException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -5710488447295073398L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17: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.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
* Fri Jul 01 17: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;
... | 149,428 |
TwitchDialogError | /** Created by xmax on 5/25/15. */
public class TwitchDialogError extends Exception {
private int errorCode;
private String failingUrl;
public TwitchDialogError(String message, int errorCode, String failingUrl) {
super(message);
this.errorCode = errorCode;
this.failingUrl = failingUrl;
}
}
| .version 52 0
.class public super TwitchDialogError
.super java/lang/Exception
.field private errorCode I
.field private failingUrl Ljava/lang/String;
.method public <init> : (Ljava/lang/String;ILjava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1: aload_1
L2: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:51:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:51: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;
... | 149,429 |
AccountLinkData | import java.util.Random;
import java.util.UUID;
/** Classe che modella i dati di collegamento account dal web */
public class AccountLinkData {
/** Codice usa e getta da utilizzare per la prima connessione */
private String oneTimeCode;
/** Token di connessione da usare per le sincronizzazioni */
private UUID ... | .version 52 0
.class public super AccountLinkData
.super java/lang/Object
.field private oneTimeCode Ljava/lang/String;
.field private connectionToken Ljava/util/UUID;
.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
* Sun Jul 03 23:14:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.UUID;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockUUID;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:14:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,430 |
AccountInfo | /*******************************************************************************
* Copyright (c) 2018 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | .version 52 0
.class public super AccountInfo
.super java/lang/Object
.field customerName Ljava/lang/String;
.field accountNumber 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 20:44: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 20:44:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,431 |
JMeterError | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public super JMeterError
.super java/lang/Error
.field private static final serialVersionUID J = 240L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Error <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:25: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 17:25: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;
... | 149,432 |
ScatterplotMatrixChart | public class ScatterplotMatrixChart {}
| .version 52 0
.class public super ScatterplotMatrixChart
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:35: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 04:35:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,433 |
AppRunCache | import java.util.ArrayList;
import java.util.List;
/** Created by Daemon on 2015/12/21. */
public class AppRunCache {
public static int screen_width = 0;
public static int screen_height = 0;
public static String Music_Init_Data = "music_init_data";
// 缓存 音乐数据 在进入音乐界面之后 流畅运行 默认缓存 后面两首的图片信息 因为图片是链接请求
public ... | .version 52 0
.class public super AppRunCache
.super java/lang/Object
.field public static screen_width I
.field public static screen_height I
.field public static Music_Init_Data Ljava/lang/String;
.field public static musicList Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:01: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
* Sat Jul 02 07:01:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,434 |
StringReversal | import java.util.Scanner;
public class StringReversal {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
System.out.print("Enter a string to reverse: ");
String in = scan.nextLine();
String out = "";
for (int x = in.length() - 1; x >= 0; x--) {
out = out + in... | .version 52 0
.class public super StringReversal
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:10:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:10:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,435 |
ShipmentKey | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
import java.io.Serializable;
/**
* A ShipmentKey serves as the key in the key/data pair for a shipment entity.
*
* <p>In this sample, ShipmentKey is used bot... | .version 52 0
.class public super ShipmentKey
.super java/lang/Object
.implements java/io/Serializable
.field private partNumber Ljava/lang/String;
.field private supplierNumber Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:24:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:24:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,436 |
DrawLine | import java.util.Arrays;
/**
* @author rampatra
* @since 2019-03-21
*/
public class DrawLine {
/**
* A monochrome screen is stored as a single array of bytes, allowing eight consecutive pixels to
* be stored in one byte. The screen has width w, where w is divisible by 8 (that is, no byte will
* be split... | .version 52 0
.class public super DrawLine
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:48:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:48:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,437 |
HelloNative | /**
* @version 1.10 1997-07-01
* @author Cay Horstmann
*/
class HelloNative {
public static native void greeting();
static {
System.loadLibrary("HelloNative");
}
}
| .version 52 0
.class super HelloNative
.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 6
.end linenumbertable
.end code
.end method
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:18:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:18:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,438 |
GenerateParentheses | /*
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
For example, given n = 3, a solution set is:
"((()))", "(()())", "(())()", "()(())", "()()()"
*/
import java.io.*;
import java.util.*;
public class GenerateParentheses {
public static List<String> res = new... | .version 52 0
.class public super GenerateParentheses
.super java/lang/Object
.field public static res Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:17:03 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 java.util.NoSuchElementException;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:17:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,439 |
VertexNormal | // This code was written by myself, Sean R. Owens, sean at guild dot net,
// and is released to the public domain. Share and enjoy. Since some
// people argue that it is impossible to release software to the public
// domain, you are also free to use this code under any version of the
// GPL, LPGL, Apache, or BSD licen... | .version 52 0
.class public super VertexNormal
.super java/lang/Object
.field public x F
.field public y F
.field public z F
.method public add : (FFF)V
.code stack 3 locals 4
L0: aload_0
L1: dup
L2: getfield Field VertexNormal x F
L5: fload_1
L6: fadd
L7: putfield Field Vertex... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:06: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
* Fri Jul 01 06:06: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;
... | 149,440 |
CmsModuleTypeOptionValuePK | import java.io.Serializable;
public class CmsModuleTypeOptionValuePK implements Serializable {
protected int moduleId;
protected int optionId;
public CmsModuleTypeOptionValuePK() {}
public CmsModuleTypeOptionValuePK(int moduleId, int optionId) {
this.moduleId = moduleId;
this.optionId = optionId;
}... | .version 52 0
.class public super CmsModuleTypeOptionValuePK
.super java/lang/Object
.implements java/io/Serializable
.field protected moduleId I
.field protected optionId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:35:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:35:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,441 |
PaddedAtomicInteger | import java.util.concurrent.atomic.AtomicInteger;
/**
* @author Bela Ban
* @since 4.0
*/
@SuppressWarnings("serial")
public class PaddedAtomicInteger extends AtomicInteger {
protected volatile int i1 = 1, i2 = 2, i3 = 3, i4 = 4, i5 = 5, i6 = 6;
protected volatile int i7 = 7, i8 = 8, i9 = 9, i10 = 10, i11 = 11, ... | .version 52 0
.class public super PaddedAtomicInteger
.super java/util/concurrent/atomic/AtomicInteger
.field protected volatile i1 I
.field protected volatile i2 I
.field protected volatile i3 I
.field protected volatile i4 I
.field protected volatile i5 I
.field protected volatile i6 I
.field protected volat... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:13:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:13:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,442 |
WebSocketException | /******************************************************************************
*
* Copyright 2011-2012 Tavendo GmbH
*
* 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:... | .version 52 0
.class public super WebSocketException
.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... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:06:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:06:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,443 |
InheritedPropertyResourceBundle | import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.util.PropertyResourceBundle;
class InheritedPropertyResourceBundle extends PropertyResourceBundle {
public InheritedPropertyResourceBundle(InputStream stream, InputStream... parents)
throws IOException {
super(strea... | .version 52 0
.class super InheritedPropertyResourceBundle
.super java/util/PropertyResourceBundle
.method public varargs <init> : (Ljava/io/InputStream;[Ljava/io/InputStream;)V
.code stack 5 locals 5
L0: aload_0
L1: aload_1
L2: invokespecial Method java/util/PropertyResourceBundle <init> (Ljava... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:46:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.Inp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:46: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;
... | 149,444 |
Cast | /*
* Usage:
* - compile: javac Cast.java
* - execute: java Cast
*/
public class Cast {
public static void main(String[] args) {
// boolean b = true;
// int n = (int) b;
int n = 1;
float x = (float) n;
System.out.println(x);
}
}
| .version 52 0
.class public super Cast
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:19:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:19:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,445 |
BytesUtils | /*
* Copyright 2014 NAVER Corp.
*
* 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 BytesUtils
.super java/lang/Object
.field public static final SHORT_BYTE_LENGTH I = 2
.field public static final INT_BYTE_LENGTH I = 4
.field public static final LONG_BYTE_LENGTH I = 8
.field public static final LONG_LONG_BYTE_LENGTH I = 16
.field public static final VLONG... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:21:06 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 08:21:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,446 |
ESCOBusinessException | /**
* Copyright (C) 2009 GIP RECIA http://www.recia.fr @Author (C) 2009 GIP RECIA
* <contact@recia.fr> @Contributor (C) 2009 SOPRA http://www.sopragroup.com/ @Contributor (C) 2011
* Pierre Legay <pierre.legay@recia.fr>
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file... | .version 52 0
.class public super ESCOBusinessException
.super java/lang/Exception
.field private static final serialVersionUID J = -8740530765329819935L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:06:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:06:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,447 |
NativeLibraryMapInfo | /*
* Copyright (C) 2007 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 final super NativeLibraryMapInfo
.super java/lang/Object
.field private mStartAddr J
.field private mEndAddr J
.field private mLibrary Ljava/lang/String;
.method <init> : (JJLjava/lang/String;)V
.code stack 3 locals 6
L0: aload_0
L1: invokespecial Method java/lang/Objec... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:46:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:46: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;
... | 149,448 |
ImageModeComponent | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author cris
*/
public class ImageModeComponent extends javax.swing.JPanel {
/** Creates new form ImageModeComponent */
public ImageModeComponent() {
initComponents();
}
/**
* This method is cal... | .version 52 0
.class public super ImageModeComponent
.super javax/swing/JPanel
.field private jComboBox1 Ljavax/swing/JComboBox;
.field private jLabel1 Ljavax/swing/JLabel;
.field private jPanel1 Ljavax/swing/JPanel;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:32: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 18:32:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,449 |
SharedPreferenceConstants | /** Keys for shared preferences */
public class SharedPreferenceConstants {
public static final String KEY_SHARED_LOGIN = "login";
}
| .version 52 0
.class public super SharedPreferenceConstants
.super java/lang/Object
.field public static final KEY_SHARED_LOGIN Ljava/lang/String; = 'login'
.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
* Fri Jul 01 06:44:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:44: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;
... | 149,450 |
FakeTestClassJDK7 | /**
* Copyright 2010 Wallace Wadge
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agree... | .version 52 0
.class public super FakeTestClassJDK7
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 26
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:21:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:21: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;
... | 149,451 |
Dec26 | public class Dec26 {
public static void main(String[] args) {
short a1 = 6;
int b = 3;
new Dec26().go(a1);
new Dec26().go(b);
new Dec26().go(new Integer(7));
new Dec26().go(new Long(7));
}
// void go(Short x) { System.out.print("S "); }
void go(Long x) {
System.out.print("L ");
... | .version 52 0
.class public super Dec26
.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 m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:52: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 19:52:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,452 |
Problem17 | /*
Idea: First determine what unique cases there are.
For example, one - ten are unique.
Eleven, Twelve, Thirteen are unique.
14 ~ 19 = unique + (teen).
Twenty is unique.
21 ~ 29 = unique + (twenty).
...
Now, let me look at example run.
ex) 374.
1.... | .version 52 0
.class public super Problem17
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 20
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:21:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:21:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,453 |
Annotation | /**
* Class denoting an annotation.
*
* @author themis
*/
public abstract class Annotation {
/** The requirement that this annotation belongs to. */
public int reqnum;
/** The id of this annotation. */
public String Id;
/** The type of this annotation. */
public String type;
/**
* Initializes t... | .version 52 0
.class public super abstract Annotation
.super java/lang/Object
.field public reqnum I
.field public Id Ljava/lang/String;
.field public type Ljava/lang/String;
.method public <init> : (ILjava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:09: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 17:09:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 149,454 |
G | public class G {
private int g1;
private String g2;
public int getG1() {
return g1;
}
public void setG1(int g1) {
this.g1 = g1;
}
public String getG2() {
return g2;
}
public void setG2(String g2) {
this.g2 = g2;
}
}
| .version 52 0
.class public super G
.super java/lang/Object
.field private g1 I
.field private g2 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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:40:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:40:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,455 |
CompareTraceFiles | /******************************************************************************
* Copyright © 2013-2015 The Nxt Core Developers. *
* *
* See the AUTHORS.txt, DEVELOPER-AGREEMENT.txt and LICENSE.txt files at *
... | .version 52 0
.class public final super CompareTraceFiles
.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 23
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:50:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:50:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,456 |
ArtPersonalController | public class ArtPersonalController {}
| .version 52 0
.class public super ArtPersonalController
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:57:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:57:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,457 |
AccountingException | /*
* $Id: AccountingException.java,v 1.3 2004/01/06 14:03:15 tryggvil Exp $
*
* Copyright (C) 2003 Agura IT. All Rights Reserved.
*
* This software is the proprietary information of Agura IT AB.
* Use is subject to license terms.
*
*/
/**
* Exception for errors in accounting business logic. The exception enca... | .version 52 0
.class public super AccountingException
.super java/lang/Exception
.field private textKey Ljava/lang/String;
.field private defaultText Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: aload_1
L2: invokespec... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:15:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:15:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,458 |
UIMenuConstants | /**
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* <p>No bytes were intentionally harmed during the development of this application.
*
* <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 Foundati... | .version 52 0
.class public super UIMenuConstants
.super java/lang/Object
.field public static final NEW_MENU I = -1
.field public static final MAIN_MENU_FILE I = 0
.field public static final MAIN_MENU_EDIT I = 1
.field public static final MAIN_MENU_TOOLS I = 2
.field public static final MAIN_MENU_BOOKMARS I = 3... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:47: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 11:47:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,459 |
FirstUniqueCharacterInString | import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.Map;
public class FirstUniqueCharacterInString {
public static int firstUniqCharBetter(String s) {
int[] count = new int[26];
Arrays.fill(count, 0);
for (char c : s.toCharArray()) {
count[c - 'a']++;
}
for (int i = 0... | .version 52 0
.class public super FirstUniqueCharacterInString
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:12: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 13:12:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,460 |
DateUtil | import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
public class DateUtil {
private static final String ISO8601_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS";
public static String toString(Date date) {
if (date == null) {
return null;
}
S... | .version 52 0
.class public super DateUtil
.super java/lang/Object
.field private static final ISO8601_FORMAT Ljava/lang/String; = "yyyy-MM-dd'T'HH:mm:ss.SSS"
.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
* Fri Jul 01 08:55:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:55:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,461 |
Record | /*
* Copyright (C) 2013 Jajja Communications AB
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... | .version 52 0
.class public super Record
.super java/lang/Object
.field private entry Ljava/lang/String;
.field private suffix Ljava/lang/String;
.field private rule Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> (... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:12: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 21:12: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;
... | 149,462 |
Employee | public class Employee {
private String name;
private double salary;
public Employee(String name, double salary) {
this.name = name;
this.salary = salary;
}
public void raiseSalary(double byPercent) {
double raise = salary * byPercent / 100;
salary += raise;
}
public String getName() {
... | .version 52 0
.class public super Employee
.super java/lang/Object
.field private name Ljava/lang/String;
.field private salary D
.method public <init> : (Ljava/lang/String;D)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:20:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:20:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,463 |
PropDemo | import java.util.Iterator;
import java.util.Properties;
import java.util.Set;
public class PropDemo {
public static void main(String args[]) {
Properties capitals = new Properties();
Set states;
String str;
capitals.put("Illinois", "Springfield");
capitals.put("Missouri", "Jefferson City");
... | .version 52 0
.class public super PropDemo
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:31:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:31:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,464 |
ResourceNotFoundException | /**
* @author sergio
*/
public class ResourceNotFoundException extends RuntimeException {}
| .version 52 0
.class public super ResourceNotFoundException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:44:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:44:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,465 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String APPLICATION_ID = "com.slidingmenu.lib";
public static final String BUILD_TYPE = "release";
public static final String FLAVOR = "";
public static final int V... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 0
.field public static final APPLICATION_ID Ljava/lang/String; = 'com.slidingmenu.lib'
.field public static final BUILD_TYPE Ljava/lang/String; = 'release'
.field public static final FLAVOR Ljava/lang/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:44:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:44:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,466 |
StrMat | /*ÇëʵÏÖÒ»¸öº¯ÊýÓÃÀ´Æ¥Åä°üÀ¨'.'ºÍ'*'µÄÕýÔò±í´ïʽ¡£Ä£Ê½ÖеÄ×Ö·û'.'±íʾÈÎÒâÒ»¸ö×Ö·û£¬
¶ø'*'±íʾËüÇ°ÃæµÄ×Ö·û¿ÉÒÔ³öÏÖÈÎÒâ´Î£¨°üº¬0´Î£©¡£ ÔÚ±¾ÌâÖУ¬Æ¥ÅäÊÇÖ¸×Ö·û´®µÄËùÓÐ×Ö·ûÆ¥ÅäÕû¸öģʽ¡£
ÀýÈ磬×Ö·û´®"aaa"Óëģʽ"a.a"ºÍ"ab*ac*a"Æ¥Å䣬µ«ÊÇÓë"aa.a"ºÍ"ab*a"¾ù²»Æ¥Åä*/
public class StrMat {
public static boolean match(char[] str... | .version 52 0
.class public super StrMat
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:02:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:02:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,467 |
MyCollabVersion | /**
* This file is part of mycollab-core.
*
* <p>mycollab-core 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.
*
* <p>mycollab-cor... | .version 52 0
.class public super MyCollabVersion
.super java/lang/Object
.field public static final THEME_VERSION Ljava/lang/String; = 'mycollab_20150826'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:54:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:54:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,468 |
Test | /*
* Copyright (c) 2000, 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 ... | .version 52 0
.class public super Test
.super java/lang/Object
.field static out Ljava/io/PrintStream;
.field static testCount I
.field static final PARSEFAIL I = 1
.field static final SCHEME I = 2
.field static final SSP I = 4
.field static final SSP_D I = 8
.field static final OPAQUEPART I = 16
.field stati... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:34:52 GMT 2022
*/
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.URI;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.moc... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:34:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,469 |
TaskException | /**
* Used if something went wrong in task creation.
*
* @author Neloop
*/
public class TaskException extends Exception {
/** Standard constructor. */
public TaskException() {}
/**
* Constructor which specify error message.
*
* @param message description of error
*/
public TaskException(String... | .version 52 0
.class public super TaskException
.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 13
L4 14
.end line... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:41: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 16:41:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,470 |
TaskConstants | /**
* Copyright (c) 2009--2016 Red Hat, Inc.
*
* <p>This software is licensed to you under the GNU General Public License, version 2 (GPLv2).
* There is NO WARRANTY for this software, express or implied, including the implied warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You should have rece... | .version 52 0
.class public super TaskConstants
.super java/lang/Object
.field public static final TASK_QUERY_KSCLEANUP_FIND_CANDIDATES Ljava/lang/String; = 'kickstartcleanup_find_candidates'
.field public static final TASK_QUERY_KSCLEANUP_FIND_PREREQ_ACTION Ljava/lang/String; = 'kickstartcleanup_find_parent_action... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:39:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:39:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 149,471 |
User | /*
*
* Copyright 2018 FJN Corp.
*
* 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 ag... | .version 52 0
.class public super User
.super java/lang/Object
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private age I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:48: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 06:48: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;
... | 149,472 |
LoadingTicket | /** Base loading ticket, used to hold an ID (name) and path */
public class LoadingTicket {
String name, path;
public LoadingTicket(String name, String path) {
this.name = name;
this.path = path;
}
public String getName() {
return name;
}
public String getPath() {
return path;
}
pub... | .version 52 0
.class public super LoadingTicket
.super java/lang/Object
.field name Ljava/lang/String;
.field path 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: aloa... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:47:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:47:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,473 |
LongestChain | import java.util.HashMap;
import java.util.HashSet;
public class LongestChain {
public static void main(String[] args) {
String[] w = {"a", "b", "ba", "bca", "bda", "bdca"};
System.out.println(longest_chain(w));
}
static int longest_chain(String[] words) {
int longestLen = 0;
// wordDict
Has... | .version 52 0
.class public super LongestChain
.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
* Fri Jul 01 17:35:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.HashSet;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:35:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,474 |
WSManConstants | /*
* Copyright 2015, The OpenNMS Group
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | .version 52 0
.class public super WSManConstants
.super java/lang/Object
.field public static final XML_NS_DMTF_WSMAN_V1 Ljava/lang/String; = 'http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd'
.field public static final XML_NS_DMTF_WSMAN_IDENTITY_V1 Ljava/lang/String; = 'http://schemas.dmtf.org/wbem/wsman/identity/1/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:21:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:21:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,475 |
BaseballCard | /*
* This file is part of BBCT.
*
* Copyright 2012-14 codeguru <codeguru@users.sourceforge.net>
*
* BBCT 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 o... | .version 52 0
.class public super BaseballCard
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -4027752761089257290L
.field private final autographed Z
.field private final condition Ljava/lang/String;
.field private final brand Ljava/lang/String;
.field... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:14:27 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:14:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,476 |
InvalidMoveException | /** Created by bjebb on 19.02.16. */
public class InvalidMoveException extends Exception {
public InvalidMoveException() {}
public InvalidMoveException(String message) {
super(message);
}
public InvalidMoveException(String message, Throwable cause) {
super(message, cause);
}
public InvalidMoveExc... | .version 52 0
.class public super InvalidMoveException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 7
L4 8
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:30:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:30:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,477 |
MaximumOccurence | import java.util.Map;
import java.util.Scanner;
import java.util.TreeMap;
// Source: https://www.hackerearth.com/zomato-hiring-challenge/algorithm/maximum-occurrence-9/
public class MaximumOccurence {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String str = scanner.nex... | .version 52 0
.class public super MaximumOccurence
.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 c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:27:58 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 21:27:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,478 |
MIPSCategORF | /*
* Created on Dec 19, 2005
*/
import java.util.Collection;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
/**
* @author tdanford
*/
public class MIPSCategORF {
private String orf;
private SortedSet<String> categs;
private int code;
public MIPSCategORF(String inputLine) {
... | .version 52 0
.class public super MIPSCategORF
.super java/lang/Object
.field private orf Ljava/lang/String;
.field private categs Ljava/util/SortedSet; .fieldattributes
.signature Ljava/util/SortedSet<Ljava/lang/String;>;
.end fieldattributes
.field private code I
.method public <init> : (Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:40:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Collection;
import java.util.LinkedHashSet;
import org.evosuite.runtime.EvoRunner;
import org.evosui... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:40:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,479 |
MicroGatewayAPIUsageConstants | /*
* Copyright (c) 2018 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | .version 52 0
.class public super MicroGatewayAPIUsageConstants
.super java/lang/Object
.field public static final ZIP_EXTENSION Ljava/lang/String; = '.zip'
.field public static final API_USAGE_OUTPUT_DIRECTORY Ljava/lang/String; = 'api-usage-data'
.field public static final API_USAGE_FILE_CONTENT Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:03:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:03:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,480 |
TestEngineException | /*
* Copyright (c) 2020 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | .version 52 0
.class public super TestEngineException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.field public errorCode I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:50:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:50:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,481 |
Constants | /**
* User: Zhang Kaitao
*
* <p>Date: 14-2-15
*
* <p>Version: 1.0
*/
public class Constants {
public static final String CURRENT_USER = "user";
}
| .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final CURRENT_USER Ljava/lang/String; = 'user'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:50:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:50:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,482 |
ConnectJDBCPostgresql | /*
* 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.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
* @author Hugo
*/
public class Connect... | .version 52 0
.class public super ConnectJDBCPostgresql
.super java/lang/Object
.field conn Ljava/sql/Connection;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aconst_null
L6: putfield Field ConnectJ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:17:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Connection;
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 19:17:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,483 |
SettingsException | public class SettingsException extends Exception {
private static final long serialVersionUID = -4976383656388815952L;
public SettingsException(String msg) {
super(msg);
}
}
| .version 52 0
.class public super SettingsException
.super java/lang/Exception
.field private static final serialVersionUID J = -4976383656388815952L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:34:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:34:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,484 |
ToTest | public class ToTest {
public static int toTest() {
return 42;
}
static int doesnotexistinstudicode = 23;
public static int toTest2() {
return doesnotexistinstudicode;
}
}
| .version 52 0
.class public super ToTest
.super java/lang/Object
.field static doesnotexistinstudicode 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 1
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:45:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:45:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,485 |
Main | // "Replace with 'getOrDefault' method call" "true"
import java.util.Map;
public class Main {
private static final String NONE = "none";
private String str;
public void testGetOrDefault(Map<String, String> map, String key, Main other) {
/* output none */
System.out.println(/* output map value */ map.ge... | .version 52 0
.class public super Main
.super java/lang/Object
.field private static final NONE Ljava/lang/String; = 'none'
.field private str 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
* Fri Jul 01 17:34:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:34:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,486 |
ExSynchronized2 | public class ExSynchronized2 {
long value = 0L;
long getNoSynchronized() {
return value;
}
synchronized long getNoWithSynchronized() {
return value;
}
void addOneNoSynchronized() {
value += 1;
}
synchronized void addOneWithSynchronized() {
value += 1;
}
public static void main(... | .version 52 0
.class public super ExSynchronized2
.super java/lang/Object
.field value J
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: lconst_0
L6: putfield Field ExSynchronized2 value J
L9: ret... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:22:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Futur... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:22: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;
... | 149,487 |
CustomerFinancialInfo | public class CustomerFinancialInfo {}
| .version 52 0
.class public super CustomerFinancialInfo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:43: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
* Sat Jul 02 21:43:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,488 |
KaaException | /*
* Copyright 2014-2016 CyberVision, 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 o... | .version 52 0
.class public super KaaException
.super java/lang/Exception
.field private static final serialVersionUID J = -859911925908759066L
.method public <init> : (Ljava/lang/Exception;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Lj... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:46:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:46:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,489 |
RootProjectPhase | import java.math.BigInteger;
public class RootProjectPhase {
private BigInteger rootProjPhaseId;
private String projNo;
private Integer rootPhaseId;
private Integer year;
private Integer month;
private Integer weekNo;
@Override
public String toString() {
return this.rootProjPhaseId
+ "#"
... | .version 52 0
.class public super RootProjectPhase
.super java/lang/Object
.field private rootProjPhaseId Ljava/math/BigInteger;
.field private projNo Ljava/lang/String;
.field private rootPhaseId Ljava/lang/Integer;
.field private year Ljava/lang/Integer;
.field private month Ljava/lang/Integer;
.field private... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:54:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:54: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;
... | 149,490 |
Class | // Class.java, created Fri Apr 5 18:36:41 2002 by joewhaley
// Copyright (C) 2001-3 John Whaley <jwhaley@alum.mit.edu>
// Licensed under the terms of the GNU LGPL; see COPYING for details.
/*
* @author John Whaley <jwhaley@alum.mit.edu>
* @version $Id: Class.java,v 1.6 2003/05/12 10:04:56 joewhaley Exp $
*/
publi... | .version 52 0
.class public final super Class
.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
* Sat Jul 02 09:49:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:49:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,491 |
Test6859338 | /*
* Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class public super Test6859338
.super java/lang/Object
.field static o [Ljava/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 36
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:14:10 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 18:14:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,492 |
StatsOptions | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | .version 52 0
.class public final super StatsOptions
.super java/lang/Object
.field public static final DEFAULT LStatsOptions;
.field public static final TIME_SERIES_ONLY LStatsOptions;
.field public static final METRICS_ONLY LStatsOptions;
.field private final timeSeriesEnabled Z
.field private final metricsEna... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:36:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:36:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,493 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:13:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:13:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,494 |
ArrayDuplicate | import java.util.Arrays;
/**
* Remove duplicate of an array.
*
* @author Ramil' Gilyazev.
* @version task 5.3.
* @since 24.11.2017.
*/
public class ArrayDuplicate {
/**
* Remove duplicate method.
*
* @param str-array of string.
* @return removed array .
*/
public String[] remove(String[] str) ... | .version 52 0
.class public super ArrayDuplicate
.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 co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:04: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 07:04:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,495 |
GetIdxShift | public class GetIdxShift {
private int idx_shift;
public int getShift() {
return idx_shift;
}
public GetIdxShift(int idx, int First_curve_z_offset, int Z_axis_step_size) {
idx_shift = (int) (First_curve_z_offset - idx * Z_axis_step_size);
}
}
| .version 52 0
.class public super GetIdxShift
.super java/lang/Object
.field private idx_shift I
.method public getShift : ()I
.code stack 1 locals 1
L0: aload_0
L1: getfield Field GetIdxShift idx_shift I
L4: ireturn
L5:
.linenumbertable
L0 7
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:50:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:50:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,496 |
No371 | /** Created by gongmw on 2017-05-12. */
public class No371 {
public int getSum(int a, int b) {
int result = a ^ b; // 按位加
int carray = (a & b) << 1; // 计算进位
if (carray != 0) return getSum(result, carray); // 判断进位与处理
return result;
}
}
| .version 52 0
.class public super No371
.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
* Sat Jul 02 00: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 00: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;
... | 149,497 |
Sound | import java.applet.Applet;
import java.applet.AudioClip;
import java.net.URL;
/** Created by Nikita on 3/11/14. */
public class Sound // Holds one audio file
{
private AudioClip song; // Sound player
private URL songPath; // Sound path
public Sound(String filename) {
try {
songPath = new URL(filename... | .version 52 0
.class public super Sound
.super java/lang/Object
.field private song Ljava/applet/AudioClip;
.field private songPath Ljava/net/URL;
.method public <init> : (Ljava/lang/String;)V
.code stack 4 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
.catch ja... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:19:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.URL;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.net.MockURL;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:19:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,498 |
Person | /**
* Bean Validation TCK
*
* <p>License: Apache License, Version 2.0 See the license.txt file in the root directory or
* <http://www.apache.org/licenses/LICENSE-2.0>.
*/
/**
* @author Gunnar Morling
*/
public class Person {}
| .version 52 0
.class public super Person
.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
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:36: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
* Sat Jul 02 01:36: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;
... | 149,499 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.