// File: /workspace/github_cpp_makefile_star2_O1/MarkOates[P]file-downloader/test_file_downloader.cpp
// Function: FileDownloader_will_set_an_error_status_when_a_file_url_does_not_exist_invoker()
BOOST_AUTO_TEST_CASE(FileDownloader_will_set_an_error_status_when_a_file_url_does_not_exist)
{
   std::string file_url = "https://www.allegro.cc/this_file_does_not_exist.png";
   std::string local_filename = "";
   FileDownloader::FileHandle handle = FileDownloader::download_file(file_url, local_filename);

   BOOST_CHECK_EQUAL(FileDownloader::ERROR, handle.get_status());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq 0x7971(%rip), %rbx      # 0xf1d8
leaq 0x390e(%rip), %rax      # 0xb17c
movq %rax, -0x98(%rbp)
leaq 0x3918(%rip), %r13      # 0xb194
movq %r13, -0x90(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
leaq -0xa8(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3b6a(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x3d03(%rip), %rsi      # 0xb5ee
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
leaq -0x38(%rbp), %r12
cmpq %r12, %rdi
je 0x7937
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x280(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x98(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7982
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x765f(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x7830(%rip), %rbx      # 0xf1d8
leaq 0x37cd(%rip), %rax      # 0xb17c
movq %rax, -0x88(%rbp)
movq %r13, -0x80(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3a30(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x3bd8(%rip), %rsi      # 0xb5fd
leaq -0x230(%rbp), %rdi
movl $0xf, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7a6d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x270(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7ab8
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x7529(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x76fa(%rip), %rbx      # 0xf1d8
leaq 0x3697(%rip), %rax      # 0xb17c
movq %rax, -0x78(%rbp)
movq %r13, -0x70(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x38fd(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x3ab5(%rip), %rsi      # 0xb60d
leaq -0x230(%rbp), %rdi
movl $0xc, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7ba0
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x260(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x78(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7be8
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x73f9(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
callq 0x7e9e
movq 0x75c5(%rip), %rbx      # 0xf1d8
leaq 0x3562(%rip), %rax      # 0xb17c
movq %rax, -0x68(%rbp)
movq %r13, -0x60(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x37c8(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x398d(%rip), %rsi      # 0xb61a
leaq -0x230(%rbp), %rdi
movl $0x12, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7cd5
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x250(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x68(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7d1d
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x72c4(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x7495(%rip), %rbx      # 0xf1d8
leaq 0x3432(%rip), %rax      # 0xb17c
movq %rax, -0x58(%rbp)
movq %r13, -0x50(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3698(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x3870(%rip), %rsi      # 0xb62d
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7e05
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x240(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x58(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7e4d
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x7194(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7e86
jmp 0x7e86
jmp 0x7e86
jmp 0x7e86
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x9eb8
movq %rbx, %rdi
callq 0x31d0
nop