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 |
|---|---|---|---|---|---|
Config | public class Config {
public static final boolean HAS_WEB_CONTENT = false;
}
| .version 52 0
.class public super Config
.super java/lang/Object
.field public static final HAS_WEB_CONTENT Z = 0
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:35:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:35:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,100 |
Apple | /**
* @author raow
* @version 2015-09-16
* @since 1.0 Copyright © e路同心(www.88bank.com) All right reserved
*/
public class Apple {
private String color;
private float weight;
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
public float ge... | .version 52 0
.class public super Apple
.super java/lang/Object
.field private color Ljava/lang/String;
.field private weight F
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:20:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:20:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,101 |
GuiIds | /**
* monocraft constants GuiIds.java
*
* @author Monocly
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*/
public class GuiIds {
public static final int PORTABLE_CRAFTING = 0;
}
| .version 52 0
.class public super GuiIds
.super java/lang/Object
.field public static final PORTABLE_CRAFTING I = 0
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:36:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:36:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,102 |
GridRowResponse | /*
* Copyright 2014 iexel
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | .version 52 0
.class public super GridRowResponse
.super java/lang/Object
.field protected id I
.field protected version J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:55: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 19:55:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,103 |
Trivial | public class Trivial {
// Make this return 1 to make the test pass.
public int f() {
return 1;
}
}
| .version 52 0
.class public super Trivial
.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... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:09: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 21:09:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,104 |
Lienzo | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
i... | .version 52 0
.class public super Lienzo
.super javax/swing/JPanel
.field static final PUNTO I = 0
.field static final LINEA I = 1
.field static final RECTANGULO I = 2
.field static final ELIPSE I = 3
.field static final NUEVO I = 4
.field private color Ljava/awt/Color;
.field private static forma I
.field pr... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:56:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:56:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,105 |
Accumulator | /*
Author: Michael Aldridge
Class: CS2336
Section: 001
Assignment: Homework 1, Question 1.D
*/
public class Accumulator {
private int sum = 0;
public int getSum() {
return sum;
}
public void add(int toAdd) {
sum = sum + toAdd;
}
}
| .version 52 0
.class public super Accumulator
.super java/lang/Object
.field private sum I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field Accumulator sum I
L9: return ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:07: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
* Sun Jul 03 23:07:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,106 |
ResponseMetadata | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super ResponseMetadata
.super java/lang/Object
.field public static final AWS_REQUEST_ID Ljava/lang/String; = 'AWS_REQUEST_ID'
.field public static final AWS_EXTENDED_REQUEST_ID Ljava/lang/String; = 'AWS_EXTENDED_REQUEST_ID'
.field protected final metadata Ljava/util/Map; .fieldattribut... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:41:32 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
* Sat Jul 02 02:41: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;
... | 149,107 |
surnia5fuds | // This file is automatically generated.
/*
* Motorola Moto E with 4G LTE (2nd Gen)
*
* DEVICE: surnia_uds
* MODEL: MotoE2(4G-LTE)
*/
final class surnia5fuds {
public static final String DATA = "Motorola|Moto E with 4G LTE (2nd Gen)|";
}
| .version 52 0
.class final super surnia5fuds
.super java/lang/Object
.field public static final DATA Ljava/lang/String; = 'Motorola|Moto E with 4G LTE (2nd Gen)|'
.method <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 04:30:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:30:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,108 |
MapResult | import java.util.*;
import java.util.stream.Collectors;
public class MapResult {
private Map<String, Object> map;
MapResult() {
map = new LinkedHashMap<String, Object>();
}
public Object get(String key) {
return map.get(key);
}
public Object put(String key, Object value) {
return map.put(key... | .version 52 0
.class public super MapResult
.super java/lang/Object
.field private map Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.method <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:35:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Date;
import java.util.Map;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
import org.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:35:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,109 |
Question | import java.util.ArrayList;
public class Question {
public static int GRID_SIZE = 8;
/* Check if (row1, column1) is a valid spot for a queen by checking if there
* is a queen in the same column or diagonal. We don't need to check it for queens
* in the same row because the calling placeQueen only attempts t... | .version 52 0
.class public super Question
.super java/lang/Object
.field public static GRID_SIZE I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:37:02 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
* Sat Jul 02 05:37:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,110 |
Token | /**
* 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 Token
.super java/lang/Object
.field private index I
.field private token Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:37:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:37:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,111 |
Country | public class Country {
private int id;
private String name;
private String continent;
public Country(int id, String name, String continent) {
this.id = id;
this.name = name;
this.continent = continent;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
... | .version 52 0
.class public super Country
.super java/lang/Object
.field private id I
.field private name Ljava/lang/String;
.field private continent Ljava/lang/String;
.method public <init> : (ILjava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:34: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 20:34:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,112 |
RemoveNonmatchingParenthesis | import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Deque;
/** Created by jacek on 1/5/17. */
public class RemoveNonmatchingParenthesis {
/*
Given a string of parenthesis and characters, remove the invalid parentheses. eg. "(ab(a)" => "ab(a)"
*/
static Stri... | .version 52 0
.class public super RemoveNonmatchingParenthesis
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:27:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:27:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,113 |
DemoNWALignment | /*
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for t... | .version 52 0
.class public super DemoNWALignment
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 26
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:33:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:33:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,114 |
Util | /**
* 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 Util
.super java/lang/Object
.field static typeMap Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:20:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:20:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,115 |
CoinPurse | import java.util.ArrayList;
public class CoinPurse {
private ArrayList<String> coins;
public CoinPurse(ArrayList<String> coins) {
this.coins = coins;
}
public void addCoin(String coin) {
coins.add(coin);
}
public void reverse() {
ArrayList<String> temp = new ArrayList<String>();
for (in... | .version 52 0
.class public super CoinPurse
.super java/lang/Object
.field private coins Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : (Ljava/util/ArrayList;)V
.code stack 2 locals 2
L0: aload_0
L1: invo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:38:08 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
* Sat Jul 02 10:38:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,116 |
DatabaseConfigurationOption | /*
* DatabaseConfigurationOption.java
*
* Created on May 29, 2007, 10:27 PM
*
* CodaServer and related original technologies are copyright 2008, 18th Street Software, LLC.
*
* Permission to use them is granted under the terms of the GNU GPLv2.
*/
/**
* @author michaelarace
*/
public class DatabaseConfigurati... | .version 52 0
.class public super DatabaseConfigurationOption
.super java/lang/Object
.field private setting Ljava/lang/String;
.field private value Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:23:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:23:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,117 |
LoginException | /*
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class public super LoginException
.super java/security/GeneralSecurityException
.field private static final serialVersionUID J = -4679091624035232488L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/security/GeneralSecurityException <init> ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:13:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:13:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,118 |
ByteRingBuffer | import java.util.Arrays;
import java.util.Iterator;
/**
* Simple ring buffer for storing byte values. All methods which modify the internal state are
* synchronized.
*/
public class ByteRingBuffer implements Iterable<Byte> {
private static final int DEF_SIZE = 1024;
private byte[] data;
private int head;
... | .version 52 0
.class public super ByteRingBuffer
.super java/lang/Object
.implements java/lang/Iterable
.field private static final DEF_SIZE I = 1024
.field private data [B
.field private head I
.field private tail I
.field private size I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:40:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:40:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,119 |
MaxLenght | /** Class define max length side of Triangle */
public class MaxLenght {
/** Return max of two numbers */
public double max(double one, double two) {
double max = one > two ? one : two;
return max;
}
/** Return max of three numbers */
public double maxLenght(double cuteAB, double cuteAC, double cute... | .version 52 0
.class public super MaxLenght
.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
* Sat Jul 02 08:03: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 08:03:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,120 |
TaskVariable | public class TaskVariable {
private String name;
private String value;
private String type;
private String scope;
public String getName() {
return name;
}
public String getValue() {
return value;
}
public String getType() {
return type;
}
public String getScope() {
return scope... | .version 52 0
.class public super TaskVariable
.super java/lang/Object
.field private name Ljava/lang/String;
.field private value Ljava/lang/String;
.field private type Ljava/lang/String;
.field private scope Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:36:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:36:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,121 |
libreoffice2Pdf | /**
* @Author shitongtong
*
* <p>Created by shitongtong on 2017/8/4.
*/
public class libreoffice2Pdf {
public static void main(String[] args) throws Exception {
long startTime = System.currentTimeMillis();
String officeFilePath = "D:\\testoffice2pdf\\Java基础PPT.ppt"; // 3.86M 307页 30s
officeFilePath = ... | .version 52 0
.class public super libreoffice2Pdf
.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 co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:03:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:03:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,122 |
CommSetting | public class CommSetting {
/** 待发送缓冲队列中,帧发送间隔「单位/ms」 */
public static int FRAME_SEND_INTERVAL = 10;
/** 服务器主机名 */
public static String SERVER_HOSTNAME = "localhost";
/** 服务器端口号 */
public static int SERVER_PORT = 30232;
/** TCP 通道验证时间 */
public static int ACCESSIBLE_CHANNEL_REPLY_INTERVAL = 1000;
}
| .version 52 0
.class public super CommSetting
.super java/lang/Object
.field public static FRAME_SEND_INTERVAL I
.field public static SERVER_HOSTNAME Ljava/lang/String;
.field public static SERVER_PORT I
.field public static ACCESSIBLE_CHANNEL_REPLY_INTERVAL I
.method public <init> : ()V
.code stack 1 loca... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:34: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
* Fri Jul 01 10:34:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,123 |
ByteArrayUtils | import java.util.Arrays;
import java.util.List;
public class ByteArrayUtils {
public static boolean contains(List<byte[]> arrays, byte[] other) {
for (byte[] b : arrays) if (Arrays.equals(b, other)) return true;
return false;
}
public static void remove(List<byte[]> list, byte[] toremove) {
byte[] ... | .version 52 0
.class public super ByteArrayUtils
.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
* Fri Jul 01 18:54:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:54:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,124 |
LoadPropertiesFileFromClasspath2 | /** Information URL: http://www.mkyong.com/java/java-properties-file-examples/ */
import java.io.IOException;
import java.util.Properties;
public class LoadPropertiesFileFromClasspath2 {
public void function() {
Properties prop = new Properties();
try {
// load a properties file from class path for non... | .version 52 0
.class public super LoadPropertiesFileFromClasspath2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:34:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:34:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,125 |
MyData | /*******************************************************************************
* Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | .version 52 0
.class public super MyData
.super java/lang/Object
.field public bytes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<[B>;
.end fieldattributes
.field public readOnlyBytes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<[B>;
.end fieldattributes
.field public wr... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:46:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:46:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,126 |
Sku | /**
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See
* License.txt in the project root for license information.
*
* <p>Code generated by Microsoft (R) AutoRest Code Generator.
*/
/** Describes a virtual machine scale set sku. */
public class Sku {
/** The sku name.... | .version 52 0
.class public super Sku
.super java/lang/Object
.field private name Ljava/lang/String;
.field private tier Ljava/lang/String;
.field private capacity Ljava/lang/Long;
.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
* Fri Jul 01 10:47: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
* Fri Jul 01 10:47: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;
... | 149,127 |
Fix | /**
*
*
* <h1>Fix.java</h1>
*
* <p>This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version; or, at your choice, under the term... | .version 52 0
.class public super Fix
.super java/lang/Object
.implements java/io/Serializable
.field private tag Ljava/lang/String;
.field private operator Ljava/lang/String;
.field private value Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:16:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:16:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,128 |
Ruta | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.ArrayList;
import java.util.List;
/**
* @author Juan Suaza
*/
public class Ruta {
String nombre, descripcion;
... | .version 52 0
.class public super Ruta
.super java/lang/Object
.field nombre Ljava/lang/String;
.field descripcion Ljava/lang/String;
.field estaciones Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : (Ljava/lang/String;Ljava/lan... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:50:48 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
* Sat Jul 02 15:50:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,129 |
ScheduledLoggerThreadFactory | /**
* Copyright (c) 2015-2022 Linagora
*
* <p>This program/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 option) any later version.
*
* <p... | .version 52 0
.class public super ScheduledLoggerThreadFactory
.super java/lang/Object
.implements java/util/concurrent/ThreadFactory
.field private final threadNumber Ljava/util/concurrent/atomic/AtomicInteger;
.field private final componentName Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:21:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:21:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,130 |
ClusterTimePrice | import java.io.Serializable;
import java.math.BigDecimal;
/**
* Json representation for a cluster running time and price
*
* @author Hossein
*/
public class ClusterTimePrice implements Serializable {
private long duration;
private BigDecimal price;
public ClusterTimePrice() {}
public ClusterTimePrice(lo... | .version 52 0
.class public super ClusterTimePrice
.super java/lang/Object
.implements java/io/Serializable
.field private duration J
.field private price Ljava/math/BigDecimal;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4:... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:51:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigDecimal;
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 20:51:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,131 |
MyAppCaptions | import java.io.Serializable;
import java.util.ListResourceBundle;
// BEGIN-EXAMPLE: advanced.i18n.bundles
/** Caption IDs and default captions. */
public class MyAppCaptions extends ListResourceBundle implements Serializable {
private static final long serialVersionUID = -2318529114498879757L;
/* Caption ID defin... | .version 52 0
.class public super MyAppCaptions
.super java/util/ListResourceBundle
.implements java/io/Serializable
.field private static final serialVersionUID J = -2318529114498879757L
.field public static final OkKey Ljava/lang/String;
.field public static final CancelKey Ljava/lang/String;
.field static fin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:22:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:22:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,132 |
Plane | /** Created on 9/2/2017 by fr1kin */
public class Plane {
private final double x;
private final double y;
private final boolean visible;
public Plane(double x, double y, boolean visible) {
this.x = x;
this.y = y;
this.visible = visible;
}
public double getX() {
return x;
}
public do... | .version 52 0
.class public super Plane
.super java/lang/Object
.field private final x D
.field private final y D
.field private final visible Z
.method public <init> : (DDZ)V
.code stack 3 locals 6
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:46:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:46:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,133 |
Album | /*
This file is part of Airsonic.
Airsonic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Airsonic is distributed in the hope that it will... | .version 52 0
.class public super Album
.super java/lang/Object
.field private id I
.field private path Ljava/lang/String;
.field private name Ljava/lang/String;
.field private artist Ljava/lang/String;
.field private songCount I
.field private durationSeconds I
.field private coverArtPath Ljava/lang/String;
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:43:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:43:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,134 |
ByteStreams | import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Objects;
final class ByteStreams {
private ByteStreams() {}
static byte[] toByteArray(final InputStream in) throws IOException {
final ByteArrayOutputStream out = new By... | .version 52 0
.class final super ByteStreams
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
L4 13
.end linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:09:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:09:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,135 |
Strings | public abstract class Strings {
public static boolean isBlank(String value) {
return value == null || value.trim().length() == 0;
}
}
| .version 52 0
.class public super abstract Strings
.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 c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:22: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 01:22: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;
... | 149,136 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:40: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 13:40:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,137 |
ContextLoaderListener | /*
* @(#)ActiveRecordContextLoaderListener.java 2013-1-19 下午1:14:22
*
* Copyright (c) 2011-2013 Makersoft.org all rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
*
*/
/**
* web application listener.
*
* @version 2013-1-19 下午1:14:22
* @author Feng Kuok
* @see ServletCont... | .version 52 0
.class public super ContextLoaderListener
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 19
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:33: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 16:33:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,138 |
Pelaajatilasto | public class Pelaajatilasto {
public final int pelaajaId;
public final String nimi;
public final int joukkuelohko;
public final int ottelut;
public final int tulospisteet;
public final int reikapelipisteet;
public Pelaajatilasto(
int pelaajaId,
String nimi,
int joukkuelohko,
int... | .version 52 0
.class public super Pelaajatilasto
.super java/lang/Object
.field public final pelaajaId I
.field public final nimi Ljava/lang/String;
.field public final joukkuelohko I
.field public final ottelut I
.field public final tulospisteet I
.field public final reikapelipisteet I
.method public <init> ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:53: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 23:53:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,139 |
AppRuntimeException | public class AppRuntimeException extends RuntimeException {
protected int errCode = -100000;
protected String errMsg = "err";
public int getErrCode() {
return errCode;
}
public String getErrMsg() {
return errMsg;
}
public AppRuntimeException(String message, Throwable cause) {
super(message,... | .version 52 0
.class public super AppRuntimeException
.super java/lang/RuntimeException
.field protected errCode I
.field protected errMsg Ljava/lang/String;
.field private static final serialVersionUID J = 1L
.method public getErrCode : ()I
.code stack 1 locals 1
L0: aload_0
L1: getfield Field Ap... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:04:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:04:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,140 |
ImportQueryBuilder | /*******************************************************************************
* HELIUM V, Open Source ERP software for sustained success
* at small and medium-sized enterprises.
* Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH
*
* This program is free software: you can redistribute it and/or modify
* it ... | .version 52 0
.class public super ImportQueryBuilder
.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 37
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:23:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:23:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,141 |
Constants | /**
* 公用常量类。
*
* @author carver.gu
* @since 1.0, Sep 12, 2009
*/
public abstract class Constants {
/** TOP默认时间格式 * */
public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
/** TOP Date默认时区 * */
public static final String DATE_TIMEZONE = "GMT+8";
/** UTF-8字符集 * */
public static final S... | .version 52 0
.class public super abstract Constants
.super java/lang/Object
.field public static final DATE_TIME_FORMAT Ljava/lang/String; = 'yyyy-MM-dd HH:mm:ss'
.field public static final DATE_TIMEZONE Ljava/lang/String; = 'GMT+8'
.field public static final CHARSET_UTF8 Ljava/lang/String; = 'UTF-8'
.field publ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:20:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:20: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... | 149,142 |
TodoListCommand | public class TodoListCommand {
private String name;
private boolean publicList;
public TodoListCommand() {}
public TodoListCommand(String name, boolean publicList) {
this.name = name;
this.publicList = publicList;
}
public String getName() {
return name;
}
public boolean isPublicList() {... | .version 52 0
.class public super TodoListCommand
.super java/lang/Object
.field private name Ljava/lang/String;
.field private publicList Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:32:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:32:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,143 |
Collections | /* Created by Vrstiv on 11.03.2016 */
import java.util.Arrays;
import java.util.List;
public class Collections {
public static void main(String[] args) {
String[] langs = {"Java", "C#", "Python", "PHP"};
List<String> languages = Arrays.asList("Java", "C#", "Python", "PHP");
for (String l : language... | .version 52 0
.class public super Collections
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:19: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 05:19:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,144 |
Heap | /*
* RapidMiner
*
* Copyright (C) 2001-2008 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as pub... | .version 52 0
.class public super abstract Heap
.super java/lang/Object
.field protected the_size I
.field protected last I
.field protected heap [D
.field protected indizes [I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4:... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:44:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:44:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 149,145 |
ApacheCommonLogParser | /**
* Copyright 2005 Bytecode Pty Ltd.
*
* <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 a... | .version 52 0
.class public super ApacheCommonLogParser
.super java/lang/Object
.implements java/io/Serializable
.field private final separators [C
.field private final quotechar C
.field private final escape C
.field private final strictQuotes Z
.field private pending Ljava/lang/String;
.field private inField... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:21:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:21:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,146 |
ReportTaskRunnerHeartbeatResult | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super ReportTaskRunnerHeartbeatResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private terminate Ljava/lang/Boolean;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:32:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:32:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,147 |
Dimension | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | .version 52 0
.class public super Dimension
.super java/lang/Object
.field protected dimensionType Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.field protected dimensionId Ljava/lang/String;
.method public <init> : (Ljava/lang/Class;Ljava/lang/String;)V
.code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:47:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:47:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,148 |
UserPermission | /** Created by chenken on 2017/4/24. */
public class UserPermission {
private final int roleId;
private final String permission;
public UserPermission(int roleId, String permission) {
this.roleId = roleId;
this.permission = permission;
}
public int getRoleId() {
return roleId;
}
public Str... | .version 52 0
.class public super UserPermission
.super java/lang/Object
.field private final roleId I
.field private final permission Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: a... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:09:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:09:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,149 |
TorpedoStore | import java.util.Random;
/** Class storing and managing the torpedos of a ship */
public class TorpedoStore {
private int torpedos = 0;
private Random generator = new Random();
public TorpedoStore(int numberOfTorpedos) {
this.torpedos = numberOfTorpedos;
}
public boolean fire(int numberOfTorpedos) {
... | .version 52 0
.class public super TorpedoStore
.super java/lang/Object
.field private torpedos I
.field private generator Ljava/util/Random;
.method public <init> : (I)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:04: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
* Sat Jul 02 17:04:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,150 |
EncryptionException | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public super EncryptionException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:26:09 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 20:26:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,151 |
ScienceArea | public class ScienceArea {
private String greatArea;
private String area;
private String subArea;
private String specialization;
public String getGreatArea() {
return greatArea;
}
public void setGreatArea(String greatArea) {
this.greatArea = greatArea.toLowerCase();
}
public String getArea... | .version 52 0
.class public super ScienceArea
.super java/lang/Object
.field private greatArea Ljava/lang/String;
.field private area Ljava/lang/String;
.field private subArea Ljava/lang/String;
.field private specialization Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: alo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:53: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
* Sat Jul 02 09:53:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,152 |
Equation | /** Created by e.kutsenko on 29.09.2016. */
public class Equation {
private double a;
private double b;
private double c;
private int n;
public Equation(double a, double b, double c) {
this.a = a;
this.b = b;
this.c = c;
double d = b * b - 4 * a * c;
if (d > 0) {
n = 2;
} e... | .version 52 0
.class public super Equation
.super java/lang/Object
.field private a D
.field private b D
.field private c D
.field private n I
.method public <init> : (DDD)V
.code stack 6 locals 9
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:58:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:58:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,153 |
LdapUtil | /*
* ZAL - The abstraction layer for Zimbra.
* Copyright (C) 2016 ZeXtras S.r.l.
*
* This file is part of ZAL.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2 of
* the Licen... | .version 52 0
.class public super LdapUtil
.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
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:44: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 06:44:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,154 |
AreaBean | import java.io.Serializable;
/** 区的数据封装 Created by daikting on 16/3/31. */
public class AreaBean implements Serializable {
private int Id;
private String DisName;
private int CityID;
private String DisSort;
public int getId() {
return Id;
}
public void setId(int id) {
Id = id;
}
public Str... | .version 52 0
.class public super AreaBean
.super java/lang/Object
.implements java/io/Serializable
.field private Id I
.field private DisName Ljava/lang/String;
.field private CityID I
.field private DisSort Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:58:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:58:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,155 |
PracticeCode | import java.io.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
public class PracticeCode {
public static void printPermutationIndexes(String smaller, String bigger) {
if (smaller == null || bigger == null) {
System.out.println("Null strings are not ... | .version 52 0
.class public super PracticeCode
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:15:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.HashSet;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
imp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:15:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,156 |
FailedWorkspaceChangeRequest | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super FailedWorkspaceChangeRequest
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private workspaceId Ljava/lang/String;
.field private errorCode Ljava/lang/String;
.field private errorMessage Ljava/lang/String;
.method public <init> ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:21:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:21:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,157 |
GmailAttachment | import java.io.InputStream;
/** Message attachement. */
public class GmailAttachment {
private int partIndex;
private String fileName;
private String contentType;
private InputStream data;
public GmailAttachment(int partIndex, String fileName, String contentType, InputStream data) {
super();
this.p... | .version 52 0
.class public super GmailAttachment
.super java/lang/Object
.field private partIndex I
.field private fileName Ljava/lang/String;
.field private contentType Ljava/lang/String;
.field private data Ljava/io/InputStream;
.method public <init> : (ILjava/lang/String;Ljava/lang/String;Ljava/io/InputStre... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:44:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:44:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,158 |
SourceTree | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License");
* you m... | .version 52 0
.class public super SourceTree
.super java/lang/Object
.field public m_url Ljava/lang/String;
.field public m_root I
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:23:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:23:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,159 |
VirtualMachineSize | /**
* Copyright (c) Microsoft and contributors. All rights reserved.
*
* <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
* http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless require... | .version 52 0
.class public super VirtualMachineSize
.super java/lang/Object
.field private maxDataDiskCount Ljava/lang/Integer;
.field private memoryInMB I
.field private name Ljava/lang/String;
.field private numberOfCores I
.field private oSDiskSizeInMB I
.field private resourceDiskSizeInMB I
.method publi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:17:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:17:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,160 |
AgentUI | /*
* 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 charitha
*/
public class AgentUI extends javax.swing.JFrame {
/** Creates new form AgentUI */
public AgentUI() {
... | .version 52 0
.class public super AgentUI
.super javax/swing/JFrame
.field private chkbxEmulate Ljavax/swing/JCheckBox;
.field private chkbxHumidityRandom Ljavax/swing/JCheckBox;
.field private chkbxHumiditySmooth Ljavax/swing/JCheckBox;
.field private chkbxTemperatureRandom Ljavax/swing/JCheckBox;
.field privat... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:06:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:06: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;
... | 149,161 |
HighwayDefaults | import java.util.HashMap;
import java.util.Map;
/**
* Class providing functionality to convert streetcategory to streettype-id.
*
* @author Tom Müller
*/
public class HighwayDefaults {
private Map<String, Integer> highwayDefaults = new HashMap<String, Integer>();
public HighwayDefaults() {
this.setHighwa... | .version 52 0
.class public super HighwayDefaults
.super java/lang/Object
.field private highwayDefaults Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: in... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:37:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:37:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,162 |
MonHoc | public class MonHoc {
private String tenMonHoc;
private String maHocPhan;
private Integer soChuong;
public MonHoc(Integer mon) {
if (mon == 1) {
tenMonHoc = "Cơ Sở Dữ Liệu";
maHocPhan = "IT3090";
soChuong = 5;
} else if (mon == 2) {
tenMonHoc = "Trí Tuệ Nhân Tạo";
maHocPha... | .version 52 0
.class public super MonHoc
.super java/lang/Object
.field private tenMonHoc Ljava/lang/String;
.field private maHocPhan Ljava/lang/String;
.field private soChuong Ljava/lang/Integer;
.method public <init> : (Ljava/lang/Integer;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial M... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:29: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
* Sun Jul 03 21:29: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;
... | 149,163 |
Solution | public class Solution {
// method time complexity: O(n) space complexity: O(1)
public boolean searchMatrix(int[][] matrix, int target) {
if (matrix == null || matrix.length == 0) return false;
int[] start = {0, 0};
int[] end = {matrix.length - 1, matrix[0].length - 1};
return helper(matrix, start,... | .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 4
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:39: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 10:39:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,164 |
Reference | public class Reference {
/* Deceleration of Mod Constants */
public static final String MOD_ID = "ServerControl";
public static final String MOD_NAME = "Server Control";
public static final String VERSION = "0.0.1";
}
| .version 52 0
.class public super Reference
.super java/lang/Object
.field public static final MOD_ID Ljava/lang/String; = 'ServerControl'
.field public static final MOD_NAME Ljava/lang/String; = 'Server Control'
.field public static final VERSION Ljava/lang/String; = '0.0.1'
.method public <init> : ()V
.co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:37:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:37:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,165 |
WorkItem | /*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
public class WorkItem {
private String key;
private String name;
private String confidence;
public void setKey(String key) {
this.key = key;
}
public String getKey() {
return this.k... | .version 52 0
.class public super WorkItem
.super java/lang/Object
.field private key Ljava/lang/String;
.field private name Ljava/lang/String;
.field private confidence Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:40: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 17:40:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,166 |
star03 | import java.util.Scanner;
public class star03 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn = new Scanner(System.in);
System.out.println("請輸入星星數");
int num = scn.nextInt();
char star = '*';
double v1 = Math.ceil(num / 2);
double v2 = num - v1... | .version 52 0
.class public super star03
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:42:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.InputMismatchException;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunn... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:42:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,167 |
Coder | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | .version 52 0
.class super Coder
.super java/lang/Object
.field decompressionMethodId [B
.field numInStreams J
.field numOutStreams J
.field properties [B
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aconst_... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:03:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:03:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,168 |
DebugInputStream | import java.io.IOException;
import java.io.InputStream;
/**
* @author MyJojoX
* @version 1.0
*/
public class DebugInputStream extends InputStream {
private InputStream in;
private StringBuilder builder;
private int counter = 0;
private int lineBreak;
private long dataCount = 0;
public DebugInputStream... | .version 52 0
.class public super DebugInputStream
.super java/io/InputStream
.field private in Ljava/io/InputStream;
.field private builder Ljava/lang/StringBuilder;
.field private counter I
.field private lineBreak I
.field private dataCount J
.method public <init> : (Ljava/io/InputStream;I)V
.code stac... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:25:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.PipedInputStream;
import java.io.PushbackInputStream;
import org.evosuite.runtime... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:25:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,169 |
JadeFlowConstants | /**
* @description 业务流程常量类
* @author liuhw
* @created 2016-08-25
* @version 1.0
*/
public class JadeFlowConstants {
public static final String YES = "Y";
public static final String NO = "N";
public static final String LOWER_YES = "y";
public static final String LOWER_NO = "n";
/** 流程表达式Key之公务员登记跳转分支__y... | .version 52 0
.class public super JadeFlowConstants
.super java/lang/Object
.field public static final YES Ljava/lang/String; = 'Y'
.field public static final NO Ljava/lang/String; = 'N'
.field public static final LOWER_YES Ljava/lang/String; = 'y'
.field public static final LOWER_NO Ljava/lang/String; = 'n'
.fi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:19: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 06:19:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,170 |
X | class X {
void a(int[] arr) {
arr[arr.length - 1] = 1;
}
}
| .version 52 0
.class super X
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end method
.method a ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:31: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 18:31:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,171 |
LicenseKeyFormatting | public class LicenseKeyFormatting {
// faster than solution2
public String licenseKeyFormatting(String S, int K) {
int count = 0;
for (int i = 0; i < S.length(); i++) {
if (S.charAt(i) == '-') count++;
}
char[] arr;
int charNum = S.length() - count;
if (charNum == 0) return "";
cha... | .version 52 0
.class public super LicenseKeyFormatting
.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 1
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:33:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:33:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,172 |
I18nPerson | /*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | .version 52 0
.class public super I18nPerson
.super java/lang/Object
.implements java/io/Serializable
.field private 'garçon' Ljava/lang/String;
.field private 'élève' Ljava/lang/String;
.field private 'имя' Ljava/lang/String;
.field private '名称' Ljava/lang/String;
.method public <init> : ()V
.code stack ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:22: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
* Sun Jul 03 16:22:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,173 |
EventNotFoundException | public class EventNotFoundException extends Exception {
public EventNotFoundException(final String msg) {
super(msg);
}
}
| .version 52 0
.class public super EventNotFoundException
.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:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:30:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:30:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,174 |
NoInternetException | /** Created by michalu on 01.05.15. */
public class NoInternetException extends Exception {
public NoInternetException(String message) {
super(message);
}
}
| .version 52 0
.class public super NoInternetException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:14:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:14:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,175 |
ApplicationConfig | import java.io.FileInputStream;
import java.util.Properties;
public class ApplicationConfig {
public static final String DEFAULT_CONFIG_PROPS = "src/test/resources/conf.properties";
private Properties props;
public ApplicationConfig() {
try {
props = new Properties();
FileInputStream fis = new ... | .version 52 0
.class public super ApplicationConfig
.super java/lang/Object
.field public static final DEFAULT_CONFIG_PROPS Ljava/lang/String; = 'src/test/resources/conf.properties'
.field private props Ljava/util/Properties;
.method public <init> : ()V
.code stack 3 locals 2
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:09:23 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
* Fri Jul 01 06:09:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,176 |
IndexReadException | /*
* Copyright (C) 2014 Indeed Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | .version 52 0
.class public final super IndexReadException
.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 21
L4 22
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:47:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:47:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,177 |
ProcessingPipelineInitializationException | /**
* This exception is thrown when there is a problem initializing the processing pipeline.
*
* <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/LICEN... | .version 52 0
.class public super ProcessingPipelineInitializationException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -355938714575887867L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Meth... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:30: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 23:30:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,178 |
SimplifyPaths | import java.util.Stack;
/** Created by INSRSAI1 on 6/1/2016. */
public class SimplifyPaths {
public String simplifyPath(String path) {
String[] paths = path.split("/");
Stack<String> stack = new Stack<String>();
for (String s : paths) {
if (s.equals("..")) {
if (!stack.isEmpty()) stack.p... | .version 52 0
.class public super SimplifyPaths
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:49:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:49:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,179 |
LocalStorageTextFileHandler | /*
* Copyright (c) 2015, iLearnRW. Licensed under Modified BSD Licence. See licence.txt for details.
*/
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import ja... | .version 52 0
.class public super LocalStorageTextFileHandler
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 15
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:02:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.InputStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:02:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,180 |
DateDecoder | /*
############################################################################
##
## Copyright (C) 2006-2009 University of Utah. All rights reserved.
##
## This file is part of DeepPeep.
##
## This file may be used under the terms of the GNU General Public
## License version 2.0 as published by the Free Software Found... | .version 52 0
.class public super DateDecoder
.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 29
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:39:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:39:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,181 |
NewJFrame | /*
* 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 temp
*/
public class NewJFrame extends javax.swing.JFrame {
/** Creates new form NewJFrame */
public NewJFrame() ... | .version 52 0
.class public super NewJFrame
.super javax/swing/JFrame
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method javax/swing/JFrame <init> ()V
L4: aload_0
L5: invokespecial Method NewJFrame initComponents ()V
L8: return
L9:
.li... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:46:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:46: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;
... | 149,182 |
MSResponseDecondingException | /*
* This file is part of Mine Sweeper Simulator.
*
* Copyright 2013, Carlos Alegría Galicia
*
* Mine Sweeper Simulator is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | .version 52 0
.class public super MSResponseDecondingException
.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: invokespeci... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:16:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:16: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;
... | 149,183 |
Main | /*
* No.1002: A + B Problem II
*
* Problem Description
* I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.
* Input
* The first line of the input contains an integer T(1<=T<=20) which means the number of test cases. Then T lines follow, each line consists of t... | .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 38
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:48:18 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
* Sat Jul 02 15:48:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,184 |
PaletteSuitability | /*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2005-2008, Open Source Geospatial Foundation (OSGeo)
*
* 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 ... | .version 52 0
.class public super PaletteSuitability
.super java/lang/Object
.field public static final QUALITY_GOOD I = 3
.field public static final QUALITY_UNKNOWN I = 2
.field public static final QUALITY_DOUBTFUL I = 1
.field public static final QUALITY_BAD I = 0
.field public static final VIEWER_COLORBLIND I... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:39:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:39:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,185 |
BloodGlucoseType | /**
* @author Scott Leonard Created: 07/01/2012
* @editor Limas Baginta, Modified: 29/11/2015
*/
public class BloodGlucoseType {
private Long id;
private String name;
private String dsc;
/**
* @return the id
*/
public Long getId() {
return id;
}
/**
* @param id the id to set
*/
publ... | .version 52 0
.class public super BloodGlucoseType
.super java/lang/Object
.field private id Ljava/lang/Long;
.field private name Ljava/lang/String;
.field private dsc Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init>... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:10: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 07:10: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;
... | 149,186 |
CompleteTimeTable | // gives branch and year for which time table is to be fetched
public class CompleteTimeTable {
public void fetchTimeTable(String branch, String year) {
System.out.println(branch + "+" + year);
}
}
| .version 52 0
.class public super CompleteTimeTable
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:22:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:22:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,187 |
PluginException | public class PluginException extends RuntimeException {
public PluginException(String cause) {
super(cause);
}
}
| .version 52 0
.class public super PluginException
.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:
.lin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:56:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:56:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,188 |
Car | // Car.java
// This is the 110 point version.
// Zion Nimchuk
// January 10, 2017
// APCS, Chris Robinson
// This program draws a car with a randomized color and position.
import java.awt.*;
public class Car {
public int x;
public int y;
private Graphics g;
public Car(int posX, int posY) {
x = posX;
... | .version 52 0
.class public super Car
.super java/lang/Object
.field public x I
.field public y I
.field private g Ljava/awt/Graphics;
.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: pu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:26:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.Graphics;
import java.awt.SystemColor;
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
* Fri Jul 01 11:26: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;
... | 149,189 |
JniUbmk | public final class JniUbmk {
static {
System.loadLibrary("jniubmk");
}
/** simply return ZER0 from native binaries; consider it as an empty JNI call. */
public static native void emptyJniCall();
public static native int emptyJniCallParam5(
long param0, int param1, int param2, int param3, int param... | .version 52 0
.class public final super JniUbmk
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:44:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:44:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,190 |
Zip | /**
* The zip bean properties
*
* @author shellpo shih
* @version 1.0
*/
public class Zip {
private long zipFileSize;
private long contentSize;
public long getZipFileSize() {
return zipFileSize;
}
public void setZipFileSize(long zipFileSize) {
this.zipFileSize = zipFileSize;
}
public long ... | .version 52 0
.class public super Zip
.super java/lang/Object
.field private zipFileSize J
.field private contentSize J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:52:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:52:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,191 |
Test | // "Replace with collect" "true"
import java.util.List;
import java.util.stream.Collectors;
public class Test {
static String test(List<String> list) {
String sb;
System.out.println("hello");
sb =
list.stream()
.filter(s -> !s.isEmpty())
.map(s -> s.trim() + "foo" + 3 + (... | .version 52 0
.class public super Test
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:13:11 GMT 2022
*/
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParam... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:13: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;
... | 149,192 |
ColorsCSS | import java.util.HashMap;
/** Colors from http://www.w3.org/TR/css3-color */
public class ColorsCSS {
static HashMap<String, Integer> sColors;
public static Integer get(String name) {
if (sColors == null) init();
return sColors.get(name);
}
static void init() {
sColors = new HashMap<String, Int... | .version 52 0
.class public super ColorsCSS
.super java/lang/Object
.field static sColors Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespe... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:55:34 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
* Sun Jul 03 22:55: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;
... | 149,193 |
TestAddress | //
// TestAddress.java
// me.rybakiewicz.objectmapping
//
// Created by Tomasz Rybakiewicz on Oct 29 2012.
// Copyright (c) 2012 Tomasz Rybakiewicz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
/... | .version 52 0
.class public super TestAddress
.super java/lang/Object
.field public addressID I
.field public city Ljava/lang/String;
.field public state Ljava/lang/String;
.field public country Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:08: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 18:08:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,194 |
Ex18dot4 | public class Ex18dot4 {
public static double m(int i) {
if (1 == i) {
return 1.0;
}
return 1.0 / i + m(i - 1);
}
public static double m2(int i) {
if (1 == i) {
return 1.0 / 2;
}
return i * 1.0 / (i + 1) + m2(i - 1);
}
public static void main(String[] args) {
for (i... | .version 52 0
.class public super Ex18dot4
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:19:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:19:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,195 |
NoAction | import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
class NoAction implements ActionListener {
public void actionPerformed(ActionEvent e) {}
}
| .version 52 0
.class super NoAction
.super java/lang/Object
.implements java/awt/event/ActionListener
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:25:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.event.ActionEvent;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(Evo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:25:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,196 |
S3SourceStream | public class S3SourceStream {}
| .version 52 0
.class public super S3SourceStream
.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
* Sun Jul 03 20:09:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:09:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,197 |
CollectionUtil | import java.util.List;
/** Created by huangzj on 2016/1/27. */
public class CollectionUtil {
/**
* 集合中是否存在指定元素
*
* @param value 指定字符
* @param list 集合
* @return
*/
public static boolean existValue(String value, List<String> list) {
if (list == null || value == null) {
return false;
... | .version 52 0
.class public super CollectionUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:07:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:07:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,198 |
Error | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | .version 52 0
.class public super Error
.super java/lang/Exception
.field private error I
.field private description Ljava/lang/String;
.method private <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: aload_2
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:27:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:27:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.