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 |
|---|---|---|---|---|---|
LongArray | /*
* Copyright (C) 2016 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 LongArray
.super java/lang/Object
.field private static final DEFAULT_INITIAL_CAPACITY I = 32
.field private size I
.field private values [J
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: bipush 32
L3: invokespecial Method LongArray ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:10:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:10: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;
... | 134,600 |
UserAgent | public class UserAgent {
public static final String MSIE = "MSIE";
public static final String CHROME = "Chrome";
public static final String IPAD = "iPad";
public static final String IPHONE = "iPhone";
public static final String ANDROID = "Android";
public static final String FIREFOX = "Firefox";
public s... | .version 52 0
.class public super UserAgent
.super java/lang/Object
.field public static final MSIE Ljava/lang/String; = 'MSIE'
.field public static final CHROME Ljava/lang/String; = 'Chrome'
.field public static final IPAD Ljava/lang/String; = 'iPad'
.field public static final IPHONE Ljava/lang/String; = 'iPhone... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:52: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
* Sat Jul 02 21:52: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;
... | 134,601 |
Main | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int n;
Scanner in = new Scanner(System.in);
n = in.nextInt();
while (n != 0) {
System.out.println("f91(" + n + ") = " + F(n));
n = in.nextInt();
}
}
public static int F(int n) {
int x;
... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:45:38 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
* Mon Jul 04 01:45:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,602 |
Bill | /** Created by yazide on 28/10/2015. */
public class Bill {
private String name, adresse;
private double price;
public Bill(String name, String adresse, double price) {
this.name = name;
this.adresse = adresse;
this.price = price;
}
public Bill() {}
@Override
public String toString() {
... | .version 52 0
.class public super Bill
.super java/lang/Object
.field private name Ljava/lang/String;
.field private adresse Ljava/lang/String;
.field private price D
.method public <init> : (Ljava/lang/String;Ljava/lang/String;D)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:44: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 18:44: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;
... | 134,603 |
PageManager | public class PageManager {
private String currentPage;
private int totalNum;
private int currentPageNum;
private int pageSize;
public PageManager() {
currentPage = "";
totalNum = 0;
currentPageNum = 1;
pageSize = 1;
}
public int getPageSize() {
return pageSize;
}
public void set... | .version 52 0
.class public super PageManager
.super java/lang/Object
.field private currentPage Ljava/lang/String;
.field private totalNum I
.field private currentPageNum I
.field private pageSize I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:21:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:21: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;
... | 134,604 |
Province | public class Province {
private int id;
private String provinceName;
private String provinceCode;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getProvinceName() {
return provinceName;
}
public void setProvinceName(String provinceName) {
... | .version 52 0
.class public super Province
.super java/lang/Object
.field private id I
.field private provinceName Ljava/lang/String;
.field private provinceCode Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:18:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:18: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;
... | 134,605 |
NoBrokersForPartitionException | /**
* 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 NoBrokersForPartitionException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:09:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:09: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;
... | 134,606 |
GraphQLQuery | public class GraphQLQuery {
public static final String COMMITS_GRAPHQL =
"query ($owner: String!, $name: String!, $branch: String!, $since: GitTimestamp!) {"
+ " repository(owner: $owner, name: $name) {"
+ " ref(qualifiedName: $branch) {"
+ " target {"
... | .version 52 0
.class public super GraphQLQuery
.super java/lang/Object
.field public static final COMMITS_GRAPHQL Ljava/lang/String; = [s7]
.field public static final PR_GRAPHQL_BEGIN_PRE Ljava/lang/String; = 'query ($owner: String!, $name: String!, $number: Int!'
.field public static final PR_GRAPHQL_COMMITS_BEGI... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:48: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 16:48: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;
... | 134,607 |
VehicleControl | /**
* 车辆控制
*
* @author 刘路
*/
public class VehicleControl {}
| .version 52 0
.class public super VehicleControl
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:02: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
* Sat Jul 02 02:02: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;
... | 134,608 |
Bed | /** Created by ihorchyzh on 5/7/17. */
public class Bed {
private String style;
private int pillows;
private int height;
private int sheets;
private int quils;
public Bed(String style, int pillows, int height, int sheets, int quils) {
this.style = style;
this.pillows = pillows;
this.height = h... | .version 52 0
.class public super Bed
.super java/lang/Object
.field private style Ljava/lang/String;
.field private pillows I
.field private height I
.field private sheets I
.field private quils I
.method public <init> : (Ljava/lang/String;IIII)V
.code stack 2 locals 6
L0: aload_0
L1: invokespe... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:05:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:05:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,609 |
FetchType | /**
* Fetch 信息
*
* @author Troy.Zhou @ 2021-10-31
* @since v3.0.0
*/
public class FetchType {
/** 列表、总条数与统计都查询 */
public static final int DEFAULT = 0;
/** 只查询第一条列表数据 */
public static final int LIST_FIRST = 1;
/** 只查询列表数据(分页) */
public static final int LIST_ONLY = 2;
/** 查询所有列表数据,即不分页 */
public ... | .version 52 0
.class public super FetchType
.super java/lang/Object
.field public static final DEFAULT I = 0
.field public static final LIST_FIRST I = 1
.field public static final LIST_ONLY I = 2
.field public static final LIST_ALL I = 3
.field public static final ONLY_TOTAL I = 4
.field public static final ONL... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:14: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 04:14: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;
... | 134,610 |
PeerClient | public class PeerClient {
private String peerIP;
private int peerPort;
public PeerClient(String peerIP, int peerPort) {
this.peerIP = peerIP;
this.peerPort = peerPort;
}
public String getPeerIP() {
return peerIP;
}
public int getPeerPort() {
return peerPort;
}
}
| .version 52 0
.class public super PeerClient
.super java/lang/Object
.field private peerIP Ljava/lang/String;
.field private peerPort I
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: al... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:04: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
* Sat Jul 02 08:04: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;
... | 134,611 |
NegativeQuantityException | /**
* An exception that is thrown when a Quantity is attempted to be created around a negative
* quantity.
*/
public class NegativeQuantityException extends IllegalArgumentException {
/**
* Creates a new exception.
*
* @param quantity The negative quantity.
*/
public NegativeQuantityException(final ... | .version 52 0
.class public super NegativeQuantityException
.super java/lang/IllegalArgumentException
.method public <init> : (J)V
.code stack 7 locals 3
L0: aload_0
L1: ldc 'quantity (%d) must be non-negative'
L3: iconst_1
L4: anewarray java/lang/Object
L7: dup
L8: iconst_0
L9: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:30: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 04:30: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;
... | 134,612 |
Constants | /** Created by Aniket on 17-Sep-17. */
public class Constants {
public static final String FIREBASE_URL =
""; // firebase URL to be entered here.(removed for security reasons)
public static final String FIREBASE_LOCATION_USERS = "users";
public static final String FIREBASE_URL_USERS = FIREBASE_URL + "/" + ... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final FIREBASE_URL Ljava/lang/String; = ''
.field public static final FIREBASE_LOCATION_USERS Ljava/lang/String; = 'users'
.field public static final FIREBASE_URL_USERS Ljava/lang/String; = '/users'
.field public static final... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:16: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
* Mon Jul 04 00:16: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;
... | 134,613 |
PagesCacheInvalidateEvent | /**
* @author Adamansky Anton (adamansky@softmotions.com)
*/
public class PagesCacheInvalidateEvent {}
| .version 52 0
.class public super PagesCacheInvalidateEvent
.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
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18: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
* Sun Jul 03 18: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;
... | 134,614 |
GetMethod | /*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | .version 52 0
.class public final super GetMethod
.super java/lang/Object
.implements java/security/PrivilegedAction
.field private final clazz Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.field private final methodName Ljava/lang/String;
.method public static ac... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:22:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.lang.reflect.Method;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:22: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;
... | 134,615 |
SqueezeBoxPlayer | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* <p>See the NOTICE file(s) distributed with this work for additional information.
*
* <p>This program and the accompanying materials are made available under the terms of the Eclipse
* Public License 2.0 which is available at http://www.eclipse.... | .version 52 0
.class public super SqueezeBoxPlayer
.super java/lang/Object
.field public macAddress Ljava/lang/String;
.field public name Ljava/lang/String;
.field public ipAddr Ljava/lang/String;
.field public model Ljava/lang/String;
.field public uuid Ljava/lang/String;
.method public <init> : ()V
.cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:03:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:03: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;
... | 134,616 |
Issues | /*******************************************************************************
* Copyright (c) 2017 Luke Collins and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the license
* which accompanies this distribution
* Contributors:
* Luke Col... | .version 52 0
.class public super Issues
.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
* Fri Jul 01 07:12:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:12: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;
... | 134,617 |
App | import java.io.Console;
/** Hello world! */
public class App {
public static void main(String[] args) {
Console co = System.console();
System.out.println(co);
String s = co.readLine();
}
}
| .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 9
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:11:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:11: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;
... | 134,618 |
ExcelSheetColumnTitle | /**
* ExcelSheetColumnTitle https://leetcode-cn.com/problems/excel-sheet-column-title/ 168. Excel表列名称
* https://leetcode-cn.com/problems/excel-sheet-column-title/solution/lei-26jin-zhi-by-oshdyr-6v4s/
*
* @author tobin
* @since 2021-06-29
*/
public class ExcelSheetColumnTitle {
public static void main(String[]... | .version 52 0
.class public super ExcelSheetColumnTitle
.super java/lang/Object
.field private static final BASE I = 26
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:03: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:03: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;
... | 134,619 |
Tag | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2011 - 2014 Board of Regents of the University of
* Wisconsin-Madison.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | .version 52 0
.class public super Tag
.super java/lang/Object
.implements java/io/Serializable
.field private tag Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:28:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:28: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;
... | 134,620 |
LeftRightDeadLock | /** Created by Administrator on 2017/3/12. */
public class LeftRightDeadLock {
private Object left = new Object();
private Object right = new Object();
public void leftRight() {
synchronized (left) {
System.out.println(Thread.currentThread().getName());
synchronized (right) {
System.out.... | .version 52 0
.class public super LeftRightDeadLock
.super java/lang/Object
.field private left Ljava/lang/Object;
.field private right Ljava/lang/Object;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ne... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:20: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 20:20:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,621 |
CloneTest | /** 但是实际上我们应该避免Clone方法 */
public class CloneTest {}
/** 在这里我们新建了一个HashTable */
class HashTable implements Cloneable {
private Entry[] buckets = {};
/**
* 但是这样的clone会产生克隆对象和原始对象的不确定行为,所以为了修正 我们必须单独的拷贝并组成每个bucket的链表
*
* @return
*/
/* @Override
protected HashTable clone() {
try {
Has... | .version 52 0
.class public super CloneTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:35:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:35: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;
... | 134,622 |
UpdateColumnParameters | // ============================================================================
//
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// https://github.com/Talend/data-prep/blob/master/LICENSE
//
// You should have received a copy of the agreement
//... | .version 52 0
.class public super UpdateColumnParameters
.super java/lang/Object
.field private type Ljava/lang/String;
.field private domain 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 20:18: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 20:18: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;
... | 134,623 |
EnfermeiroBean | public class EnfermeiroBean {}
| .version 52 0
.class public super EnfermeiroBean
.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
* Sat Jul 02 02:46:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:46: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;
... | 134,624 |
ConnectingGraphIII | import java.util.*;
/**
* Given n nodes in a graph labeled from 1 to n. There is no edges in the graph at beginning.
*
* <p>You need to support the following method: 1. connect(a, b), an edge to connect node a and node
* b 2. query(), Returns the number of connected component in the graph
*
* <p>Have you met thi... | .version 52 0
.class public super ConnectingGraphIII
.super java/lang/Object
.field private uf LUnionFindIII;
.method public <init> : (I)V
.code stack 4 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new UnionFindIII
L8: dup
L9: iload_1 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:02:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:02: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;
... | 134,625 |
ReverseString | /** Reverses a String iteratively and recursively. */
public class ReverseString {
public static void main(String[] args) {
String string = "abcdefgh";
dbg("--- Reverse string iteratively ---");
dbg(reverseIterative(string));
dbg("--- Reverse string recursively ---");
dbg(reverseRecursive(string,... | .version 52 0
.class public super ReverseString
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:55: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 16:55: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;
... | 134,626 |
Images | /** Created by andy on 10/03/2017. */
public class Images {
public static final String[] imageThumbUrls =
new String[] {
"https://image.fanhuan.com/goods/2017-03-13/537175124339.jpg",
"https://image.fanhuan.com/goods/2017-03-13/543747680329.jpg",
"https://image.fanhuan.com/goods/2017-03... | .version 52 0
.class public super Images
.super java/lang/Object
.field public static final imageThumbUrls [Ljava/lang/String;
.field public static final imageUrls [Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:57:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:57:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,627 |
ValueObject | import java.io.Serializable;
public class ValueObject implements Serializable {
private static final long serialVersionUID = -845993641491587L;
}
| .version 52 0
.class public super ValueObject
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -845993641491587L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: retu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:57:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:57:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,628 |
CollectionsDemo02 | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* shuffle 洗牌 打乱顺序 模拟斗地主发牌 reverse() binarySearch()
*
* @author Administrator
*/
public class CollectionsDemo02 {
/**
* @param args
*/
public static void main(String[] args) {
List<Integer> cards = new ArrayList<Inte... | .version 52 0
.class public super CollectionsDemo02
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 14
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:42:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:42: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;
... | 134,629 |
CloseableRegistry | /*
* This file is part of kern, licensed under the MIT License (MIT)
*
* Copyright (c) 2016 Teal Cube Games <http://tealcubegames.com/>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | .version 52 0
.class public final super CloseableRegistry
.super java/lang/Object
.field private final closeableDeque Ljava/util/Deque; .fieldattributes
.signature Ljava/util/Deque<Ljava/io/Closeable;>;
.end fieldattributes
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: inv... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:34:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.CharArrayWriter;
import java.io.PipedInputStr... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:34:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,630 |
Production2859 | public class Production2859 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production2859
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:46: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 21:46:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,631 |
AbstractSqlParser | import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
/**
* SQL解析器.
*
* @author 阿海
*/
public class AbstractSqlParser {
protected LinkedHashSet<String> parse(String fieldZone, String valueZone) {
List<String> fieldList = this.parseField(fieldZone);
List<Boolean> paramList = t... | .version 52 0
.class public super AbstractSqlParser
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:33:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedHashSet;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:33:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,632 |
ManageDatabaseReportCommand | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | .version 52 0
.class public super ManageDatabaseReportCommand
.super java/lang/Object
.field private m_ids [Ljava/lang/Integer;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:07:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:07: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;
... | 134,633 |
Relic | // Copyright 2012 - V.M. Kattenberg - vm.kattenberg@gmail.com
//
// This file is part of relic
//
// relic is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at yo... | .version 52 0
.class public super Relic
.super java/lang/Object
.field private identifier Ljava/lang/String;
.field private description Ljava/lang/String;
.field private filename Ljava/lang/String;
.field private properties Ljava/util/Properties;
.method public <init> : (Ljava/lang/String;)V
.code stack 3 ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:00:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Properties;
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
* Sun Jul 03 23:00: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;
... | 134,634 |
Parameters | import java.io.InputStream;
import java.util.Scanner;
public class Parameters {
public static double dPi = 3.14159265358979;
public static double dHalfPi = dPi / 2;
public static double dTwoPi = dPi * 2;
public static int WindowWidth = 400;
public static int WindowHeight = 400;
public static int iFramesPer... | .version 52 0
.class public super Parameters
.super java/lang/Object
.field public static dPi D
.field public static dHalfPi D
.field public static dTwoPi D
.field public static WindowWidth I
.field public static WindowHeight I
.field public static iFramesPerSecond I
.field public static iNumInputs I
.field p... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:27:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:27:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,635 |
TestEvent | public class TestEvent {
private String name;
public TestEvent(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
| .version 52 0
.class public super TestEvent
.super java/lang/Object
.field private name Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Field T... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:57: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 18:57: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;
... | 134,636 |
ControlFlow | /* /nodynamiccopyright/ */
// hard coded linenumbers in other tests - DO NOT CHANGE
/*
* Debuggee which exercises various types of control flow
*/
class ControlFlow {
boolean b = true;
int n = 22;
public static void main(String args[]) throws Exception {
(new ControlFlow()).go();
}
void go() throws E... | .version 52 0
.class super ControlFlow
.super java/lang/Object
.field b Z
.field n I
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_1
L6: putfield Field ControlFlow b Z
L9: aload_0
L10: bipu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:21:20 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:21: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;
... | 134,637 |
Recurring | import java.util.Calendar;
/** Created by Rey on 2/4/2015. */
public class Recurring {
public static final int REPEAT_NONE = 0;
public static final int REPEAT_DAILY = 1;
public static final int REPEAT_WEEKLY = 2;
public static final int REPEAT_MONTHLY = 3;
public static final int REPEAT_YEARLY = 4;
publi... | .version 52 0
.class public super Recurring
.super java/lang/Object
.field public static final REPEAT_NONE I = 0
.field public static final REPEAT_DAILY I = 1
.field public static final REPEAT_WEEKLY I = 2
.field public static final REPEAT_MONTHLY I = 3
.field public static final REPEAT_YEARLY I = 4
.field publ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:40:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Calendar;
import java.util.Locale;
import java.util.TimeZone;
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
* Fri Jul 01 23:40:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,638 |
MessageParsingException | public class MessageParsingException extends Exception {
public MessageParsingException(String string) {
super(string);
}
private static final long serialVersionUID = -7642017392247776074L;
}
| .version 52 0
.class public super MessageParsingException
.super java/lang/Exception
.field private static final serialVersionUID J = -7642017392247776074L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:41:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:41: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;
... | 134,639 |
MathRandomDemo | import java.util.Random;
// 随机数。Math.random() -- 返回0和1之间的伪随机数 可能为0,但总是小于1,[0,1)
public class MathRandomDemo {
public static void main(String[] args) {
intAndChar();
for (int i = 0; i < 100; i++) {
System.out.println(Math.random());
}
for (int i = 0; i < 10; i++) {
sixRandomStr();
}
... | .version 52 0
.class public super MathRandomDemo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:12:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:12: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;
... | 134,640 |
ShopException | public class ShopException extends RuntimeException {
private static final long serialVersionUID = 1L;
public ShopException(String message, Throwable cause) {
super(message, cause);
}
public ShopException(String message) {
super(message);
}
public ShopException(Throwable cause) {
super(cause... | .version 52 0
.class public super ShopException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:39: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
* Sun Jul 03 21:39: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;
... | 134,641 |
MoveZeroes | /**
* Leetcode 283 - Move Zeroes (Easy)
*
* <p>Given an array nums, write a function to move all 0's to the end of it while maintaining the
* relative order of the non-zero elements.
*
* <p>For example, given nums = [0, 1, 0, 3, 12], after calling your function, nums should be [1, 3,
* 12, 0, 0].
*
* <p>Note: ... | .version 52 0
.class public super MoveZeroes
.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 27
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:27: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
* Sun Jul 03 21:27: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;
... | 134,642 |
URIBuilderException | /*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | .version 52 0
.class public super URIBuilderException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:43:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:43:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,643 |
TonelliShanks | import java.math.BigInteger;
import java.util.function.BiFunction;
import java.util.function.Function;
public class TonelliShanks {
private static final BigInteger ZERO = BigInteger.ZERO;
private static final BigInteger ONE = BigInteger.ONE;
private static final BigInteger TWO = BigInteger.valueOf(2);
private ... | .version 52 0
.class public super TonelliShanks
.super java/lang/Object
.field private static final ZERO Ljava/math/BigInteger;
.field private static final ONE Ljava/math/BigInteger;
.field private static final TWO Ljava/math/BigInteger;
.field private static final FOUR Ljava/math/BigInteger;
.method public <in... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:38:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.math.BigInteger;
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
* Sat Jul 02 16:38:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,644 |
RedissonThreadFactory | /**
* Copyright 2016 Nikita Koksharov
*
* <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 ag... | .version 52 0
.class public super RedissonThreadFactory
.super java/lang/Object
.implements java/util/concurrent/ThreadFactory
.field private static final poolNumber Ljava/util/concurrent/atomic/AtomicInteger;
.field private final group Ljava/lang/ThreadGroup;
.field private final threadNumber Ljava/util/concurre... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:48:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThread;
import org.junit.runner.Ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:48: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;
... | 134,645 |
SHA256Utils | import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Locale;
public class SHA256Utils {
/**
* 对字符串加密,加密算法使用MD5,SHA-1,SHA-256,默认使用SHA-256
*
* @param strSrc 要加密的字符串
* @param encName 加密类型
* @return strDes 加密结果
... | .version 52 0
.class public super SHA256Utils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:28:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:28: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;
... | 134,646 |
DataConn | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class DataConn {
private static Connection conn = null;
private static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
private static final String DB_URL = "jdbc:mysql://localhost/connect";
private static final ... | .version 52 0
.class public super DataConn
.super java/lang/Object
.field private static conn Ljava/sql/Connection;
.field private static final JDBC_DRIVER Ljava/lang/String; = 'com.mysql.jdbc.Driver'
.field private static final DB_URL Ljava/lang/String; = 'jdbc:mysql://localhost/connect'
.field private static fi... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:42:26 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
* Sun Jul 03 23:42: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;
... | 134,647 |
CommandLine | public class CommandLine {
public final String commandLine;
public final String command;
public final String args;
public CommandLine(String commandLine) {
if (commandLine == null) {
throw new IllegalArgumentException("Cannot have a null command line!");
}
this.commandLine = commandLine;
... | .version 52 0
.class public super CommandLine
.super java/lang/Object
.field public final commandLine Ljava/lang/String;
.field public final command Ljava/lang/String;
.field public final args Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 4 locals 3
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:30:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:30: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;
... | 134,648 |
PersistenceManager | /*
* Copyright 2008 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | .version 52 0
.class public super PersistenceManager
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:29:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.t... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:29: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;
... | 134,649 |
MissionParser | /*
% WorkflowWalker: A Workflow Parameter Optimizer
%
% Copyright 2017 Björn Groß and Raik Otto
%
% 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/... | .version 52 0
.class public super MissionParser
.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 27
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:46:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16: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;
... | 134,650 |
Column | import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Observable;
public class Column extends Observable implements Serializable {
private static final long serialVersionUID = -3132995981235020048L;
private Boolean mbEditable;
private ... | .version 52 0
.class public super Column
.super java/util/Observable
.implements java/io/Serializable
.field private static final serialVersionUID J = -3132995981235020048L
.field private mbEditable Ljava/lang/Boolean;
.field private mClsType Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:08:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:08: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;
... | 134,651 |
UriRecord | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from libunity.djinni
import java.util.HashMap;
public final class UriRecord {
/*package*/ final String mScheme;
/*package*/ final String mPath;
/*package*/ final HashMap<String, String> mItems;
public UriRecord(String scheme, String p... | .version 52 0
.class public final super UriRecord
.super java/lang/Object
.field final mScheme Ljava/lang/String;
.field final mPath Ljava/lang/String;
.field final mItems Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.method ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:20:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:20: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;
... | 134,652 |
StudentTestpractice | import java.util.Random;
public class StudentTestpractice {
public static void main(String[] args) {
Random rand = new Random();
final int ARRAY_LENGTH = 13;
int[] dice = new int[ARRAY_LENGTH];
System.out.print(" Sum Frequency Percentage");
for (int i = 0; i < 100000; i++) {
int diceRol... | .version 52 0
.class public super StudentTestpractice
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:52: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
* Fri Jul 01 07:52: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;
... | 134,653 |
Mirror | import java.io.Serializable;
/**
* A mirror to download OC ReMixes from.
*
* @author Copyright (C) 2012 Sauraen, sauraen@gmail.com; GPL licensed
*/
public class Mirror implements Serializable {
/**
* A String representing the URL path to remixes at this mirror, minus the actual mix file name.
*/
public S... | .version 52 0
.class public super Mirror
.super java/lang/Object
.implements java/io/Serializable
.field public path Ljava/lang/String;
.field public use Z
.method public <init> : (Ljava/lang/String;Z)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:44:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:44: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;
... | 134,654 |
GebAssertionError | /* Copyright 2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | .version 52 0
.class public super GebAssertionError
.super java/lang/AssertionError
.method public <init> : (Ljava/lang/Object;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokevirtual Method java/lang/Object toString ()Ljava/lang/String;
L5: invokespecial Method java/lang/Asserti... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:07:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:07:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,655 |
AuthorizerOption | public class AuthorizerOption {
private String authorizer_appid;
private String option_name;
private String option_value;
public String getAuthorizer_appid() {
return authorizer_appid;
}
public void setAuthorizer_appid(String authorizer_appid) {
this.authorizer_appid = authorizer_appid;
}
... | .version 52 0
.class public super AuthorizerOption
.super java/lang/Object
.field private authorizer_appid Ljava/lang/String;
.field private option_name Ljava/lang/String;
.field private option_value Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:24: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 04:24: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;
... | 134,656 |
Employee | /** Created by ninad on 3/8/2017. */
public class Employee {
private long empId;
private String empName;
private String department;
private String supervisor;
public long getEmpId() {
return empId;
}
public void setEmpId(long empId) {
this.empId = empId;
}
public String getEmpName() {
r... | .version 52 0
.class public super Employee
.super java/lang/Object
.field private empId J
.field private empName Ljava/lang/String;
.field private department Ljava/lang/String;
.field private supervisor Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokesp... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:52:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:52: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;
... | 134,657 |
UpdateVersionRequest | public class UpdateVersionRequest {
private Long versionId;
private String version;
public Long getVersionId() {
return versionId;
}
public void setVersionId(Long versionId) {
this.versionId = versionId;
}
public String getVersion() {
return version;
}
public void setVersion(String ver... | .version 52 0
.class public super UpdateVersionRequest
.super java/lang/Object
.field private versionId Ljava/lang/Long;
.field private version 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 13:41:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:41: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;
... | 134,658 |
XYCoordinates | /*****************************************************************************
* *
* OpenNI 1.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
... | .version 52 0
.class public super XYCoordinates
.super java/lang/Object
.field private x I
.field private y I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field XYCoordinates... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:27:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:27: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;
... | 134,659 |
TimeIncrement | // Copyright (c) 2001 Dustin Sallings <dustin@spy.net>
import java.util.Calendar;
import java.util.Date;
/** This object defines how a recurring job should increment itself. */
public class TimeIncrement extends Object {
private int fieldIncrement = 0;
private int incAmount = 0;
private final Calendar calenda... | .version 52 0
.class public super TimeIncrement
.super java/lang/Object
.field private fieldIncrement I
.field private incAmount I
.field private final calendar Ljava/util/Calendar;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokestatic Method java/util/Calendar getInstanc... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:02:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.DateTimeException;
import java.time.Duration;
import java.time.Period;
import java.util.Calendar;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:02:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,660 |
Address | public class Address {
private int id;
private int userId;
private String address;
private String city;
private String state;
private String country;
private String zipcode;
public Address() {}
public Address(
int id,
int userId,
String address,
String city,
String sta... | .version 52 0
.class public super Address
.super java/lang/Object
.field private id I
.field private userId I
.field private address Ljava/lang/String;
.field private city Ljava/lang/String;
.field private state Ljava/lang/String;
.field private country Ljava/lang/String;
.field private zipcode Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:45:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:45:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,661 |
QueryParseException | /*
* Copyright 2004-2007 Gary Bentley
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | .version 52 0
.class public super QueryParseException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;Ljava/lang/Th... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:21:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:21: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;
... | 134,662 |
SwitchInProgressException | /*
* INESC-ID, Instituto de Engenharia de Sistemas e Computadores Investigação e Desevolvimento em Lisboa
* Copyright 2013 INESC-ID and/or its affiliates and other
* contributors as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a full listing of
* individual co... | .version 52 0
.class public super SwitchInProgressException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:23:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:23:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,663 |
ResponseCreationException | /*
* #%L
* =====================================================
* _____ _ ____ _ _ _ _
* |_ _|_ __ _ _ ___| |_ / __ \| | | | ___ | | | |
* | | | '__| | | / __| __|/ / _` | |_| |/ __|| |_| |
* | | | | | |_| \__ \ |_| | (_| | _ |\__ \| _ |
* |_| |_| \__,_|___/... | .version 52 0
.class public super ResponseCreationException
.super java/lang/Exception
.field private static final serialVersionUID J = -4526416956142775338L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:47: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 07:47: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;
... | 134,664 |
DatagramWind | /** POJO for Wind */
public class DatagramWind {
private Boolean WIND_VRB;
private long WIND_DIR;
private long WIND_SPD;
private long WIND_GUST;
public void setVrb(Boolean vrb) {
this.WIND_VRB = vrb;
// this.WIND_SPD = new Double(null);
}
public void setDirection(long dir) {
this.WIND_DIR = ... | .version 52 0
.class public super DatagramWind
.super java/lang/Object
.field private WIND_VRB Ljava/lang/Boolean;
.field private WIND_DIR J
.field private WIND_SPD J
.field private WIND_GUST J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Objec... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:03: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:03: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;
... | 134,665 |
IBaseDao | import java.util.List;
import java.util.Map;
/** Created by Administrator on 2017/7/15. */
public class IBaseDao {
public void insert(String sql, Object[] objs) {}
public List<Map<String, Object>> queryForList(String sql1, Object[] objs) {
return null;
}
}
| .version 52 0
.class public super IBaseDao
.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
* Sat Jul 02 19:25:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@R... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:25: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;
... | 134,666 |
DiscreteRandomGenerator | /**
* Copyright (C) 2010 Doug Judd (Hypertable, Inc.)
*
* <p>This file is part of Hypertable.
*
* <p>Hypertable 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 any la... | .version 52 0
.class public super abstract DiscreteRandomGenerator
.super java/lang/Object
.field protected mMinValue I
.field protected mMaxValue I
.field protected mValueCount I
.field private mRandom Ljava/util/Random;
.field protected mNumbers [J
.field protected mCmf [D
.method public <init> : (III)V
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:43:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:43:12 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... | 134,667 |
NotCoinbaseException | // this code is copyright 2013 Joshua Mark Zeidner and
// licensed under the Apache 2.0 license, see LICENSE.txt
public class NotCoinbaseException extends Exception {}
| .version 52 0
.class public super NotCoinbaseException
.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 6
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:13:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:13: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;
... | 134,668 |
TestDouble | /**
* Description: <br>
* Copyright (C), 2005-2008, Yeeku.H.Lee <br>
* This program is protected by copyright laws. <br>
* Program Name: <br>
* Date:
*
* @author Yeeku.H.Lee kongyeeku@163.com
* @version 1.0
*/
public class TestDouble {
public static void main(String args[]) {
System.out.println("0.05 + 0... | .version 52 0
.class public super TestDouble
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:28: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
* Mon Jul 04 04:28: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;
... | 134,669 |
InvalidExtensionKey | /**
* InvalidExtensionKey.java 2011-07-30
*
* <p>Copyright 2011, Adam Lesperance
*
* <p>This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version
* 2.1 of the License, or (at your... | .version 52 0
.class public final super InvalidExtensionKey
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:15: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 14:15: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;
... | 134,670 |
SmartEventResponse | /**
* SmartEventResponse : Model bean defining the response parameters for Smart Event request
* generated from the web layer
*/
public class SmartEventResponse {
// Indicates whether or not the service operation is successful or not
private boolean isOperationComplete = false;
// Response meant for the web la... | .version 52 0
.class public super SmartEventResponse
.super java/lang/Object
.field private isOperationComplete Z
.field private serviceResponse Ljava/lang/String;
.field private exceptionType I
.field private exceptionMessage Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: a... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:39: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 20:39: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;
... | 134,671 |
SearchCustomerOrderShippingInfosCriteria | import java.io.Serializable;
public class SearchCustomerOrderShippingInfosCriteria implements Serializable {
private String customerOrderId;
private String customerOrderNo;
public String getCustomerOrderId() {
return customerOrderId;
}
public void setCustomerOrderId(String customerOrderId) {
this... | .version 52 0
.class public super SearchCustomerOrderShippingInfosCriteria
.super java/lang/Object
.implements java/io/Serializable
.field private customerOrderId Ljava/lang/String;
.field private customerOrderNo Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:24: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 22:24: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;
... | 134,672 |
BigDecimalExample2 | import java.math.BigDecimal;
import java.math.RoundingMode;
public class BigDecimalExample2 {
public static void main(String[] args) {
// Surface area = 4*pi*r^2
BigDecimal pi = new BigDecimal("3.14159265358979323846"); // pi
BigDecimal radius = new BigDecimal(123212);
radius = radius.multiply(radiu... | .version 52 0
.class public super BigDecimalExample2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:52:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:52:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,673 |
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 21:34:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:34:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,674 |
CommandHandler | /*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www... | .version 52 0
.class public super CommandHandler
.super java/lang/Object
.field private name Ljava/lang/String;
.field private static getCommands Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;LCommandHandler;>;
.end fieldattributes
.field private static postCommands Ljava/util/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:54:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:54: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;
... | 134,675 |
AABB | public class AABB {}
| .version 52 0
.class public super AABB
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:40:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:40: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;
... | 134,676 |
RetryFailedException | /**
* @author Scott Mansfield
*/
public class RetryFailedException extends Exception {
public RetryFailedException(String message, Throwable cause) {
super(message, cause);
}
}
| .version 52 0
.class public super RetryFailedException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;Ljava/lang/T... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:58:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:58: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;
... | 134,677 |
HelloWorld | public class HelloWorld {
public HelloWorld() {
System.out.println("Hello world, I'm being created!");
}
}
| .version 52 0
.class public super HelloWorld
.super java/lang/Object
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: getstatic Field java/lang/System out Ljava/io/PrintStream;
L7: ldc "Hello world, I'm being created!"
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16: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
* Mon Jul 04 16: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;
... | 134,678 |
Packet | /**
* SFTP Paket Types
*
* @author Christian Plattner, plattner@trilead.com
* @version $Id: Packet.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $
*/
public class Packet {
public static final int SSH_FXP_INIT = 1;
public static final int SSH_FXP_VERSION = 2;
public static final int SSH_FXP_OPEN = 3;
public s... | .version 52 0
.class public super Packet
.super java/lang/Object
.field public static final SSH_FXP_INIT I = 1
.field public static final SSH_FXP_VERSION I = 2
.field public static final SSH_FXP_OPEN I = 3
.field public static final SSH_FXP_CLOSE I = 4
.field public static final SSH_FXP_READ I = 5
.field public... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:54:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:54: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;
... | 134,679 |
Main | import java.util.HashMap;
import java.util.Map;
/**
* Word Count Engine
*
* <p>Implement a document scanning function wordCountEngine, which receives a string document and
* returns a list of all unique words in it and their number of occurrences, sorted by the number of
* occurrences in a descending order. Assum... | .version 52 0
.class super Main
.super java/lang/Object
.field static final synthetic $assertionsDisabled Z
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 32
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:14:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:14: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;
... | 134,680 |
Name | public class Name {
private String additionalName;
private String lastName;
private String firstName;
private String fullName;
public Name() {}
public String getAdditionalName() {
return additionalName;
}
public void setAdditionalName(String value) {
this.additionalName = value;
}
public... | .version 52 0
.class public super Name
.super java/lang/Object
.field private additionalName Ljava/lang/String;
.field private lastName Ljava/lang/String;
.field private firstName Ljava/lang/String;
.field private fullName Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:27: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
* Fri Jul 01 08:27: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;
... | 134,681 |
Guitar | import java.util.Arrays;
import java.util.Iterator;
import java.util.Map;
/**
* Guitar类,包含一个GuitarSpacMap属性
*
* @author zhang
* @date 2016年5月26日 下午3:18:57
* @doing TODO
*/
public class Guitar {
public Guitar() {}
public Guitar(Integer id, Double price, Map<String, Object> guitarSpecMap) {
this.id = id;
... | .version 52 0
.class public super Guitar
.super java/lang/Object
.field private guitarSpecMap Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.field private id Ljava/lang/Integer;
.field private price Ljava/lang/Double;
.method public <... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:05:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 08:05: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;
... | 134,682 |
NativeApp | public class NativeApp {
public static native void init(
int xxres,
int yyres,
int dpi,
String apkPath,
String dataDir,
String externalDir,
String libraryDir,
String installID,
boolean useOpenSL);
public static native boolean isLandscape();
public static nat... | .version 52 0
.class public super NativeApp
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:55:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:55:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,683 |
DFUtils | import java.util.Arrays;
import java.util.List;
public abstract class DFUtils {
private static final List<String> CPFS_INVALIDOS =
Arrays.asList(
"00000000000",
"11111111111",
"22222222222",
"33333333333",
"44444444444",
"55555555555",
"6666... | .version 52 0
.class public super abstract DFUtils
.super java/lang/Object
.field private static final CPFS_INVALIDOS 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: invoke... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:26:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:26: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;
... | 134,684 |
WordLadder2 | import java.util.*;
/**
* https://leetcode.com/problems/word-ladder-ii/description/ TODO working but Need revisit; Some
* test cases exceeded time limit
*/
public class WordLadder2 {
public static void main(String[] args) {
String beginWord = "hit", endWord = "cog";
List<String> wordList = Arrays.asList(... | .version 52 0
.class public super WordLadder2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:54:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import java.util.TreeMap;
import jav... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:54: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;
... | 134,685 |
Error | import java.io.Serializable;
public class Error implements Serializable {
private final String codigo;
private final String mensaje;
public Error(int codigo, String mensaje) {
this(Integer.toString(codigo), mensaje);
}
public Error(String codigo, String mensaje) {
this.codigo = codigo;
this.me... | .version 52 0
.class public super Error
.super java/lang/Object
.implements java/io/Serializable
.field private final codigo Ljava/lang/String;
.field private final mensaje Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 3 locals 3
L0: aload_0
L1: iload_1
L2: inv... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:26:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:26:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,686 |
Solution | import java.util.*;
public class Solution {
public static void main(String[] args) {
Solution s = new Solution();
print(s.permute(new int[] {1, 2, 3, 4}));
}
private static void print(ArrayList<ArrayList<Integer>> lists) {
for (ArrayList<Integer> list : lists) {
for (int n : list) {
Sy... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:10:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:10:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,687 |
WorkResultNotFoundException | /*
* This file is part of JGAP.
*
* JGAP offers a dual license model containing the LGPL as well as the MPL.
*
* For licensing information please see the file license.txt included with JGAP
* or have a look at the top of class org.jgap.Chromosome which representatively
* includes the JGAP license policy applicab... | .version 52 0
.class public super WorkResultNotFoundException
.super java/lang/Exception
.field private static final CVS_REVISION Ljava/lang/String; = '$Revision: 1.1 $'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: re... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:11: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
* Sat Jul 02 18:11: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;
... | 134,688 |
ArraySh | public class ArraySh {
private long[] theArray;
private int nElems;
public ArraySh(int max) {
theArray = new long[max];
nElems = 0;
}
public void insert(long value) {
theArray[nElems] = value;
nElems++;
}
public void display() {
System.out.print("A=");
for (int i = 0; i < nElems... | .version 52 0
.class public super ArraySh
.super java/lang/Object
.field private theArray [J
.field private nElems I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: newarray long
L8: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:33:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:33: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;
... | 134,689 |
CntcSttus | import java.io.Serializable;
/**
* 연계현황 모델 클래스
*
* @author 공통서비스 개발팀 이중호
* @since 2009.04.01
* @version 1.0
* @see
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.04.01 이중호 최초 생성
*
* Copyright (C... | .version 52 0
.class public super CntcSttus
.super java/lang/Object
.implements java/io/Serializable
.field private cntcId Ljava/lang/String;
.field private cntcNm Ljava/lang/String;
.field private cntcType Ljava/lang/String;
.field private cntAll Ljava/lang/String;
.field private cntSuccess Ljava/lang/String; ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:53:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:53: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;
... | 134,690 |
ejemplo123 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author SHAMID MAHFUD
*/
public class ejemplo123 {
public void muestranombre1() {
System.out.println("hola mundo");
}... | .version 52 0
.class public super ejemplo123
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:55: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 04:55: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;
... | 134,691 |
EventException | /*
Copyright (c) 2014, Colorado State University
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and ... | .version 52 0
.class public super EventException
.super java/lang/Exception
.field private static final serialVersionUID J = 7898445170109030502L
.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
* Mon Jul 04 02:55:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:55: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;
... | 134,692 |
RandomTest | import java.util.Random;
/**
* @author rampatra
* @since 2/23/15
*/
public class RandomTest {
public static void main(String[] args) {
Random r = new Random();
System.out.println(r.nextInt(1));
System.out.println(randInt(0, 1, false));
// System.out.print(randInts(1, 0));
}
public static int ... | .version 52 0
.class public super RandomTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:31:25 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 09:31: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;
... | 134,693 |
FileDataHolder | /**
* Holds the file data that is the same for all files
*
* @author Alexander Hennie-Roed
* @version 1.0.0
*/
public class FileDataHolder {
/*
Here is the proper layout of different parts of the file:
Header: header1 + quizName + header2 + startDate + header3 + endDate + header4
MC Question: mc1 + que... | .version 52 0
.class public super FileDataHolder
.super java/lang/Object
.field private final header1 Ljava/lang/String; = '<questestinterop>\n <assessment ident="102506" title="'
.field private final header2 Ljava/lang/String; = [s4]
.field private final header3 Ljava/lang/String; = '</fieldentry>\n </qtime... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:38:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:38: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;
... | 134,694 |
Production871 | public class Production871 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value) ... | .version 52 0
.class public super Production871
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prope... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:01:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:01: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;
... | 134,695 |
Client | import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.Socket;
/**
* This is an IRC bot I wrote a long time ago in 10th grade. Feel free to use this to teach yourself
* the IRC protocol. User: Vartan Date: Jun 5, 2010 Time: 5... | .version 52 0
.class public super Client
.super java/lang/Object
.field out Ljava/io/BufferedWriter;
.field in Ljava/io/BufferedReader;
.field name Ljava/lang/String;
.field password Ljava/lang/String;
.method public static main : ([Ljava/lang/String;)V
.code stack 4 locals 2
L0: new Client
L3: d... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:06:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.BufferedWriter;
import java.io.StringWriter;
import org.evosuite.runtime.EvoRunner;
import org.evosuit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:06:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,696 |
SimilarPair | import java.io.*;
import java.util.*;
/* Mighty Cohadar */
public class SimilarPair {
int root;
List<List<Integer>> G = new ArrayList<>();
boolean[] V;
int[] A;
int t;
int depth = 0;
long count = 0;
FenwickTree fw;
int n;
public SimilarPair(Scanner scanner, int n, int t) {
for (int i = 0; i < ... | .version 52 0
.class public super SimilarPair
.super java/lang/Object
.field root I
.field G Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/util/List<Ljava/lang/Integer;>;>;
.end fieldattributes
.field V [Z
.field A [I
.field t I
.field depth I
.field count J
.field fw LFenwickTree; ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:33:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.util.NoSuchElementException;
import java.util.Scanner;
import org.ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:33: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;
... | 134,697 |
AccessToken | public final class AccessToken {
private final long id;
private final String code;
private final String userJid;
private final String clientJid;
private final String token;
private final long expireTime;
private final boolean redeemed;
private final String scopes;
public AccessToken(
long id,
... | .version 52 0
.class public final super AccessToken
.super java/lang/Object
.field private final id J
.field private final code Ljava/lang/String;
.field private final userJid Ljava/lang/String;
.field private final clientJid Ljava/lang/String;
.field private final token Ljava/lang/String;
.field private final ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:37:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:37:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,698 |
TooManyErasedLocations | /**
* 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 TooManyErasedLocations
.super java/io/IOException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/io/IOException <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:21:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:21: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;
... | 134,699 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.